- entry_type: invariant_set
  metadata:
    format_version: "2.0"
    uuid: e831dc7d-5d6a-45c6-8f05-86454a04ba56
    creation_time: 2025-03-22T11:32:01Z
    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/weaver/popl20-bad-buffer-mult-alt.wvr.c'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-bad-buffer-mult-alt.wvr.c
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-bad-buffer-mult-alt.wvr.c: 2e9e4bd6e9b16aa5f22ad2335ca34ba741869a12ab5a04a80108cf42ed170c0f
      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/weaver/popl20-bad-buffer-mult-alt.wvr.c
        line: 164
        column: 3
        function: create_fresh_int_array
      value: size <= 1073741823
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-bad-buffer-mult-alt.wvr.c
        line: 164
        column: 3
        function: create_fresh_int_array
      value: (4294967296LL + (long long )q1_back) + (long long )q1_front >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-bad-buffer-mult-alt.wvr.c
        line: 164
        column: 3
        function: create_fresh_int_array
      value: (0LL - (long long )i) + (long long )size >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-bad-buffer-mult-alt.wvr.c
        line: 164
        column: 3
        function: create_fresh_int_array
      value: (4294967295LL - (long long )q1_back) + (long long )q1_front >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-bad-buffer-mult-alt.wvr.c
        line: 164
        column: 3
        function: create_fresh_int_array
      value: (4294967295LL + (long long )q1_back) - (long long )q1_front >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-bad-buffer-mult-alt.wvr.c
        line: 164
        column: 3
        function: create_fresh_int_array
      value: (4294967294LL - (long long )q1_back) - (long long )q1_front >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-bad-buffer-mult-alt.wvr.c
        line: 164
        column: 3
        function: create_fresh_int_array
      value: q2 == 0
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-bad-buffer-mult-alt.wvr.c
        line: 164
        column: 3
        function: create_fresh_int_array
      value: i == 0
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-bad-buffer-mult-alt.wvr.c
        line: 164
        column: 3
        function: create_fresh_int_array
      value: j == 0
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-bad-buffer-mult-alt.wvr.c
        line: 164
        column: 3
        function: create_fresh_int_array
      value: total == 0
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-bad-buffer-mult-alt.wvr.c
        line: 164
        column: 3
        function: create_fresh_int_array
      value: ((((((((((((((((((4 <= size && 4 <= i) && i <= 1073741823) && (-8LL +
        (long long )i) + (long long )size >= 0LL) && (2147483644LL + (long long )q1_front)
        + (long long )size >= 0LL) && (2147483644LL + (long long )q1_back) + (long
        long )size >= 0LL) && (2147483644LL + (long long )i) + (long long )q1_front
        >= 0LL) && (2147483644LL + (long long )i) + (long long )q1_back >= 0LL) &&
        (2147483643LL - (long long )q1_front) + (long long )size >= 0LL) && (2147483643LL
        - (long long )q1_back) + (long long )size >= 0LL) && (4294967295LL - (long
        long )i) + (long long )q1_front >= 0LL) && (4294967295LL - (long long )i)
        + (long long )q1_back >= 0LL) && (2147483643LL + (long long )i) - (long long
        )q1_front >= 0LL) && (2147483643LL + (long long )i) - (long long )q1_back
        >= 0LL) && (4294967294LL - (long long )i) - (long long )q1_front >= 0LL) &&
        (4294967294LL - (long long )i) - (long long )q1_back >= 0LL) || ((((((((((((((3
        <= size && (-6LL + (long long )i) + (long long )size >= 0LL) && (2147483645LL
        + (long long )q1_front) + (long long )size >= 0LL) && (2147483645LL + (long
        long )q1_back) + (long long )size >= 0LL) && (2147483645LL + (long long )i)
        + (long long )q1_front >= 0LL) && (2147483645LL + (long long )i) + (long long
        )q1_back >= 0LL) && (2147483644LL - (long long )q1_front) + (long long )size
        >= 0LL) && (2147483644LL - (long long )q1_back) + (long long )size >= 0LL)
        && (2147483651LL - (long long )i) + (long long )q1_front >= 0LL) && (2147483651LL
        - (long long )i) + (long long )q1_back >= 0LL) && (2147483644LL + (long long
        )i) - (long long )q1_front >= 0LL) && (2147483644LL + (long long )i) - (long
        long )q1_back >= 0LL) && (2147483650LL - (long long )i) - (long long )q1_front
        >= 0LL) && (2147483650LL - (long long )i) - (long long )q1_back >= 0LL) &&
        i == 3)) || ((((((((((((((2 <= size && (-4LL + (long long )i) + (long long
        )size >= 0LL) && (2147483646LL + (long long )q1_front) + (long long )size
        >= 0LL) && (2147483646LL + (long long )q1_back) + (long long )size >= 0LL)
        && (2147483646LL + (long long )i) + (long long )q1_front >= 0LL) && (2147483646LL
        + (long long )i) + (long long )q1_back >= 0LL) && (2147483645LL - (long long
        )q1_front) + (long long )size >= 0LL) && (2147483645LL - (long long )q1_back)
        + (long long )size >= 0LL) && (2147483650LL - (long long )i) + (long long
        )q1_front >= 0LL) && (2147483650LL - (long long )i) + (long long )q1_back
        >= 0LL) && (2147483645LL + (long long )i) - (long long )q1_front >= 0LL) &&
        (2147483645LL + (long long )i) - (long long )q1_back >= 0LL) && (2147483649LL
        - (long long )i) - (long long )q1_front >= 0LL) && (2147483649LL - (long long
        )i) - (long long )q1_back >= 0LL) && i == 2)) || ((((((((((((((1 <= size &&
        (-2LL + (long long )i) + (long long )size >= 0LL) && (2147483647LL + (long
        long )q1_front) + (long long )size >= 0LL) && (2147483647LL + (long long )q1_back)
        + (long long )size >= 0LL) && (2147483647LL + (long long )i) + (long long
        )q1_front >= 0LL) && (2147483647LL + (long long )i) + (long long )q1_back
        >= 0LL) && (2147483646LL - (long long )q1_front) + (long long )size >= 0LL)
        && (2147483646LL - (long long )q1_back) + (long long )size >= 0LL) && (2147483649LL
        - (long long )i) + (long long )q1_front >= 0LL) && (2147483649LL - (long long
        )i) + (long long )q1_back >= 0LL) && (2147483646LL + (long long )i) - (long
        long )q1_front >= 0LL) && (2147483646LL + (long long )i) - (long long )q1_back
        >= 0LL) && (2147483648LL - (long long )i) - (long long )q1_front >= 0LL) &&
        (2147483648LL - (long long )i) - (long long )q1_back >= 0LL) && i == 1)) ||
        (((((((((((((((0 <= size && (2147483648LL + (long long )q1_front) + (long
        long )size >= 0LL) && (2147483648LL + (long long )q1_back) + (long long )size
        >= 0LL) && (2147483648LL + (long long )i) + (long long )q1_front >= 0LL) &&
        (2147483648LL + (long long )i) + (long long )q1_back >= 0LL) && (2147483647LL
        - (long long )q1_front) + (long long )size >= 0LL) && (2147483647LL - (long
        long )q1_back) + (long long )size >= 0LL) && (2147483648LL - (long long )i)
        + (long long )q1_front >= 0LL) && (2147483648LL - (long long )i) + (long long
        )q1_back >= 0LL) && (long long )i + (long long )size >= 0LL) && (2147483647LL
        + (long long )i) - (long long )q1_front >= 0LL) && (2147483647LL + (long long
        )i) - (long long )q1_back >= 0LL) && (2147483647LL - (long long )i) - (long
        long )q1_front >= 0LL) && (2147483647LL - (long long )i) - (long long )q1_back
        >= 0LL) && 0 == i) && i == 0)
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-bad-buffer-mult-alt.wvr.c
        line: 109
        column: 3
        function: thread4
      value: (unsigned int )_argptr == 0U
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-bad-buffer-mult-alt.wvr.c
        line: 91
        column: 3
        function: thread3
      value: (unsigned int )_argptr == 0U
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-bad-buffer-mult-alt.wvr.c
        line: 51
        column: 3
        function: thread1
      value: (unsigned int )_argptr == 0U
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/weaver/popl20-bad-buffer-mult-alt.wvr.c
        line: 71
        column: 3
        function: thread2
      value: (unsigned int )_argptr == 0U
      format: c_expression
