- entry_type: invariant_set
  metadata:
    format_version: "2.0"
    uuid: 4fd4ae33-d7e5-4456-8072-99a175c6a810
    creation_time: 2025-03-21T00:44:36Z
    producer:
      name: Goblint
      version: heads/master-0-g66dff5a90-dirty
      command_line: '''./goblint'' ''--conf'' ''conf/svcomp.json'' ''--disable'' ''witness.graphml.enabled''
        ''--sets'' ''ana.specification'' ''/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/properties/valid-memsafety.prp''
        ''--sets'' ''exp.architecture'' ''32bit'' ''/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-memsafety/ArraysWithLenghtAtDeclaration_-write.c'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-memsafety/ArraysWithLenghtAtDeclaration_-write.c
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-memsafety/ArraysWithLenghtAtDeclaration_-write.c: 05d1274571884b61e0bf3945fec02c622819cbfceb65bf4937493085e5ba6604
      data_model: ILP32
      language: C
      specification: 'CHECK( init(main()), LTL(G valid-free) )

        CHECK( init(main()), LTL(G valid-deref) )

        CHECK( init(main()), LTL(G valid-memtrack) )'
  content:
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-memsafety/ArraysWithLenghtAtDeclaration_-write.c
        line: 29
        column: 2
        function: main
      value: ((((4 <= i && i <= 32) || i == 3) || i == 2) || i == 1) || (0 == i &&
        i == 0)
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-memsafety/ArraysWithLenghtAtDeclaration_-write.c
        line: 17
        column: 5
        function: foo
      value: 1 <= size
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-memsafety/ArraysWithLenghtAtDeclaration_-write.c
        line: 17
        column: 5
        function: foo
      value: size <= 32
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-memsafety/ArraysWithLenghtAtDeclaration_-write.c
        line: 17
        column: 5
        function: foo
      value: (((((1 <= i && i <= 33) && (-2LL + (long long )i) + (long long )size
        >= 0LL) && (1LL - (long long )i) + (long long )size >= 0LL) && (2147483648LL
        + (long long )i) - (long long )size >= 0LL) && (4294967296LL - (long long
        )i) - (long long )size >= 0LL) || ((((((-1LL + (long long )i) + (long long
        )size >= 0LL && (-1LL - (long long )i) + (long long )size >= 0LL) && (2147483649LL
        + (long long )i) - (long long )size >= 0LL) && (2147483649LL - (long long
        )i) - (long long )size >= 0LL) && 0 == i) && i == 0)
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-memsafety/ArraysWithLenghtAtDeclaration_-write.c
        line: 26
        column: 2
        function: main
      value: ((((4 <= i && i <= 32) || i == 3) || i == 2) || i == 1) || (0 == i &&
        i == 0)
      format: c_expression
