- entry_type: invariant_set
  metadata:
    format_version: "2.0"
    uuid: 1011e735-3f18-4604-b88c-3ad9ddfdc0c4
    creation_time: 2025-03-20T23:30:54Z
    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/array-memsafety/reverse_array_alloca_unsafe.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/reverse_array_alloca_unsafe.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/reverse_array_alloca_unsafe.i: 67e6429a6543f453ac429a23a8d2fcad0657c53add4186ba92445fb458193f20
      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/array-memsafety/reverse_array_alloca_unsafe.i
        line: 521
        column: 2
        function: main
      value: (4294967295LL + (long long )i) - (long long )length >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/reverse_array_alloca_unsafe.i
        line: 521
        column: 2
        function: main
      value: (4294967294LL - (long long )i) - (long long )length >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/reverse_array_alloca_unsafe.i
        line: 521
        column: 2
        function: main
      value: length % 2 == 1
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/reverse_array_alloca_unsafe.i
        line: 521
        column: 2
        function: main
      value: ((0LL - (long long )i) + (long long )length >= 0LL && (((((((((((((4
        <= length && 4 <= i) && (-8LL + (long long )i) + (long long )length >= 0LL)
        && (2147483644LL + (long long )i) + (long long )length >= 0LL) && (2147483644LL
        + (long long )i) + (long long )i >= 0LL) && (2147483643LL - (long long )i)
        + (long long )length >= 0LL) && (2147483643LL - (long long )i) + (long long
        )i >= 0LL) && (2147483643LL + (long long )i) - (long long )length >= 0LL)
        && (4294967295LL + (long long )i) - (long long )i >= 0LL) && (4294967294LL
        - (long long )i) - (long long )i >= 0LL) && (4294967294LL - (long long )i)
        - (long long )length >= 0LL) || ((((((((((3 <= length && (-6LL + (long long
        )i) + (long long )length >= 0LL) && (2147483645LL + (long long )i) + (long
        long )length >= 0LL) && (2147483645LL + (long long )i) + (long long )i >=
        0LL) && (2147483644LL - (long long )i) + (long long )length >= 0LL) && (2147483644LL
        - (long long )i) + (long long )i >= 0LL) && (2147483644LL + (long long )i)
        - (long long )length >= 0LL) && (2147483651LL + (long long )i) - (long long
        )i >= 0LL) && (2147483650LL - (long long )i) - (long long )i >= 0LL) && (2147483650LL
        - (long long )i) - (long long )length >= 0LL) && i == 3)) || ((((((((((2 <=
        length && (-4LL + (long long )i) + (long long )length >= 0LL) && (2147483646LL
        + (long long )i) + (long long )length >= 0LL) && (2147483646LL + (long long
        )i) + (long long )i >= 0LL) && (2147483645LL - (long long )i) + (long long
        )length >= 0LL) && (2147483645LL - (long long )i) + (long long )i >= 0LL)
        && (2147483645LL + (long long )i) - (long long )length >= 0LL) && (2147483650LL
        + (long long )i) - (long long )i >= 0LL) && (2147483649LL - (long long )i)
        - (long long )i >= 0LL) && (2147483649LL - (long long )i) - (long long )length
        >= 0LL) && i == 2)) || ((((((((((1 <= length && (-2LL + (long long )i) + (long
        long )length >= 0LL) && (2147483647LL + (long long )i) + (long long )length
        >= 0LL) && (2147483647LL + (long long )i) + (long long )i >= 0LL) && (2147483646LL
        - (long long )i) + (long long )length >= 0LL) && (2147483646LL - (long long
        )i) + (long long )i >= 0LL) && (2147483646LL + (long long )i) - (long long
        )length >= 0LL) && (2147483649LL + (long long )i) - (long long )i >= 0LL)
        && (2147483648LL - (long long )i) - (long long )i >= 0LL) && (2147483648LL
        - (long long )i) - (long long )length >= 0LL) && i == 1))) || ((((((((((((1
        <= length && (-1LL + (long long )i) + (long long )length >= 0LL) && (2147483647LL
        + (long long )i) + (long long )length >= 0LL) && (2147483648LL + (long long
        )i) + (long long )i >= 0LL) && (-1LL - (long long )i) + (long long )length
        >= 0LL) && (2147483646LL - (long long )i) + (long long )length >= 0LL) &&
        (2147483647LL - (long long )i) + (long long )i >= 0LL) && (2147483647LL +
        (long long )i) - (long long )length >= 0LL) && (2147483648LL + (long long
        )i) - (long long )i >= 0LL) && (2147483647LL - (long long )i) - (long long
        )i >= 0LL) && (2147483647LL - (long long )i) - (long long )length >= 0LL)
        && 0 == i) && i == 0)
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/reverse_array_alloca_unsafe.i
        line: 526
        column: 3
        function: main
      value: 1 <= i
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/reverse_array_alloca_unsafe.i
        line: 526
        column: 3
        function: main
      value: (0LL - (long long )i) + (long long )length >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/reverse_array_alloca_unsafe.i
        line: 526
        column: 3
        function: main
      value: (4294967294LL - (long long )i) - (long long )length >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/reverse_array_alloca_unsafe.i
        line: 526
        column: 3
        function: main
      value: (long long )i - (long long )length >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/reverse_array_alloca_unsafe.i
        line: 526
        column: 3
        function: main
      value: length % 2 == 1
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/reverse_array_alloca_unsafe.i
        line: 526
        column: 3
        function: main
      value: (((0LL - (long long )i) + (long long )length >= 0LL && (0LL - (long long
        )i) + (long long )i >= 0LL) && (((((((((((4 <= i && 4 <= length) && (-8LL
        + (long long )i) + (long long )length >= 0LL) && (-8LL + (long long )i) +
        (long long )i >= 0LL) && (-8LL + (long long )i) + (long long )length >= 0LL)
        && (2147483643LL + (long long )i) - (long long )length >= 0LL) && (2147483643LL
        + (long long )i) - (long long )i >= 0LL) && (4294967294LL - (long long )i)
        - (long long )length >= 0LL) && (4294967294LL - (long long )i) - (long long
        )i >= 0LL) || ((((((((3 <= length && (-6LL + (long long )i) + (long long )length
        >= 0LL) && (-6LL + (long long )i) + (long long )i >= 0LL) && (-6LL + (long
        long )i) + (long long )length >= 0LL) && (2147483644LL + (long long )i) -
        (long long )length >= 0LL) && (2147483644LL + (long long )i) - (long long
        )i >= 0LL) && (2147483650LL - (long long )i) - (long long )length >= 0LL)
        && (2147483650LL - (long long )i) - (long long )i >= 0LL) && i == 3)) || ((((((((2
        <= length && (-4LL + (long long )i) + (long long )length >= 0LL) && (-4LL
        + (long long )i) + (long long )i >= 0LL) && (-4LL + (long long )i) + (long
        long )length >= 0LL) && (2147483645LL + (long long )i) - (long long )length
        >= 0LL) && (2147483645LL + (long long )i) - (long long )i >= 0LL) && (2147483649LL
        - (long long )i) - (long long )length >= 0LL) && (2147483649LL - (long long
        )i) - (long long )i >= 0LL) && i == 2)) || ((((((((1 <= length && (-2LL +
        (long long )i) + (long long )length >= 0LL) && (-2LL + (long long )i) + (long
        long )i >= 0LL) && (-2LL + (long long )i) + (long long )length >= 0LL) &&
        (2147483646LL + (long long )i) - (long long )length >= 0LL) && (2147483646LL
        + (long long )i) - (long long )i >= 0LL) && (2147483648LL - (long long )i)
        - (long long )length >= 0LL) && (2147483648LL - (long long )i) - (long long
        )i >= 0LL) && i == 1))) || (((((((((((1 <= length && (-2LL + (long long )i)
        + (long long )length >= 0LL) && (-1LL + (long long )i) + (long long )length
        >= 0LL) && (-1LL + (long long )i) + (long long )i >= 0LL) && (-1LL - (long
        long )i) + (long long )length >= 0LL) && (-1LL - (long long )i) + (long long
        )i >= 0LL) && (2147483647LL + (long long )i) - (long long )length >= 0LL)
        && (2147483647LL + (long long )i) - (long long )i >= 0LL) && (2147483647LL
        - (long long )i) - (long long )length >= 0LL) && (2147483647LL - (long long
        )i) - (long long )i >= 0LL) && 0 == i) && i == 0)
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/reverse_array_alloca_unsafe.i
        line: 532
        column: 3
        function: main
      value: 1 <= i
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/reverse_array_alloca_unsafe.i
        line: 532
        column: 3
        function: main
      value: 1 <= length
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/reverse_array_alloca_unsafe.i
        line: 532
        column: 3
        function: main
      value: 1 <= i
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/reverse_array_alloca_unsafe.i
        line: 532
        column: 3
        function: main
      value: (-2LL + (long long )i) + (long long )length >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/reverse_array_alloca_unsafe.i
        line: 532
        column: 3
        function: main
      value: (-2LL + (long long )i) + (long long )i >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/reverse_array_alloca_unsafe.i
        line: 532
        column: 3
        function: main
      value: (-2LL + (long long )i) + (long long )length >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/reverse_array_alloca_unsafe.i
        line: 532
        column: 3
        function: main
      value: (0LL - (long long )i) + (long long )length >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/reverse_array_alloca_unsafe.i
        line: 532
        column: 3
        function: main
      value: (0LL - (long long )i) + (long long )i >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/reverse_array_alloca_unsafe.i
        line: 532
        column: 3
        function: main
      value: (0LL - (long long )i) + (long long )length >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/reverse_array_alloca_unsafe.i
        line: 532
        column: 3
        function: main
      value: (4294967294LL - (long long )i) - (long long )length >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/reverse_array_alloca_unsafe.i
        line: 532
        column: 3
        function: main
      value: (4294967294LL - (long long )i) - (long long )i >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/reverse_array_alloca_unsafe.i
        line: 532
        column: 3
        function: main
      value: (4294967294LL - (long long )i) - (long long )length >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/reverse_array_alloca_unsafe.i
        line: 532
        column: 3
        function: main
      value: (long long )i - (long long )length >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/reverse_array_alloca_unsafe.i
        line: 532
        column: 3
        function: main
      value: (long long )i - (long long )i >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/reverse_array_alloca_unsafe.i
        line: 532
        column: 3
        function: main
      value: (long long )i - (long long )length >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/reverse_array_alloca_unsafe.i
        line: 532
        column: 3
        function: main
      value: length % 2 == 1
      format: c_expression
