- entry_type: invariant_set
  metadata:
    format_version: "2.0"
    uuid: 7f5ac849-e210-4e8b-b669-3745ac64723b
    creation_time: 2025-03-20T23:30:49Z
    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/openbsd_cmemchr-alloca-2.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/openbsd_cmemchr-alloca-2.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/openbsd_cmemchr-alloca-2.i: 007fc8a389a67fb47c7d326d3f1d284696dfe5de13661e77d6d1bf7cce285194
      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/openbsd_cmemchr-alloca-2.i
        line: 537
        column: 2
        function: main
      value: 1 <= length
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/openbsd_cmemchr-alloca-2.i
        line: 537
        column: 2
        function: main
      value: (2147483647LL + (long long )c) + (long long )length >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/openbsd_cmemchr-alloca-2.i
        line: 537
        column: 2
        function: main
      value: (2147483646LL - (long long )c) + (long long )length >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/openbsd_cmemchr-alloca-2.i
        line: 537
        column: 2
        function: main
      value: (2147483646LL + (long long )length) - (long long )n >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/openbsd_cmemchr-alloca-2.i
        line: 537
        column: 2
        function: main
      value: (4294967295LL + (long long )c) - (long long )length >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/openbsd_cmemchr-alloca-2.i
        line: 537
        column: 2
        function: main
      value: (4294967295LL + (long long )c) - (long long )n >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/openbsd_cmemchr-alloca-2.i
        line: 537
        column: 2
        function: main
      value: (4294967294LL - (long long )length) - (long long )n >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/openbsd_cmemchr-alloca-2.i
        line: 537
        column: 2
        function: main
      value: (4294967294LL - (long long )c) - (long long )length >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/openbsd_cmemchr-alloca-2.i
        line: 537
        column: 2
        function: main
      value: (4294967294LL - (long long )c) - (long long )n >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/openbsd_cmemchr-alloca-2.i
        line: 537
        column: 2
        function: main
      value: ((0LL - (long long )i) + (long long )n >= 0LL && (((((((((((((((((((4
        <= n && 4 <= i) && (-8LL + (long long )i) + (long long )n >= 0LL) && (-5LL
        + (long long )length) + (long long )n >= 0LL) && (-5LL + (long long )i) +
        (long long )length >= 0LL) && (2147483644LL + (long long )c) + (long long
        )n >= 0LL) && (2147483644LL + (long long )c) + (long long )i >= 0LL) && (2147483643LL
        - (long long )length) + (long long )n >= 0LL) && (2147483643LL - (long long
        )c) + (long long )n >= 0LL) && (2147483643LL - (long long )c) + (long long
        )i >= 0LL) && (2147483646LL - (long long )i) + (long long )length >= 0LL)
        && (2147483643LL + (long long )i) - (long long )length >= 0LL) && (2147483643LL
        + (long long )i) - (long long )n >= 0LL) && (4294967295LL + (long long )c)
        - (long long )i >= 0LL) && (4294967294LL - (long long )c) - (long long )i
        >= 0LL) && (4294967294LL - (long long )i) - (long long )length >= 0LL) &&
        (4294967294LL - (long long )i) - (long long )n >= 0LL) || ((((((((((((((((3
        <= n && (-6LL + (long long )i) + (long long )n >= 0LL) && (-4LL + (long long
        )length) + (long long )n >= 0LL) && (-4LL + (long long )i) + (long long )length
        >= 0LL) && (2147483645LL + (long long )c) + (long long )n >= 0LL) && (2147483645LL
        + (long long )c) + (long long )i >= 0LL) && (2LL - (long long )i) + (long
        long )length >= 0LL) && (2147483644LL - (long long )length) + (long long )n
        >= 0LL) && (2147483644LL - (long long )c) + (long long )n >= 0LL) && (2147483644LL
        - (long long )c) + (long long )i >= 0LL) && (2147483644LL + (long long )i)
        - (long long )length >= 0LL) && (2147483644LL + (long long )i) - (long long
        )n >= 0LL) && (2147483651LL + (long long )c) - (long long )i >= 0LL) && (2147483650LL
        - (long long )c) - (long long )i >= 0LL) && (2147483650LL - (long long )i)
        - (long long )length >= 0LL) && (2147483650LL - (long long )i) - (long long
        )n >= 0LL) && i == 3)) || ((((((((((((((((2 <= n && (-4LL + (long long )i)
        + (long long )n >= 0LL) && (-3LL + (long long )length) + (long long )n >=
        0LL) && (-3LL + (long long )i) + (long long )length >= 0LL) && (2147483646LL
        + (long long )c) + (long long )n >= 0LL) && (2147483646LL + (long long )c)
        + (long long )i >= 0LL) && (1LL - (long long )i) + (long long )length >= 0LL)
        && (2147483645LL - (long long )length) + (long long )n >= 0LL) && (2147483645LL
        - (long long )c) + (long long )n >= 0LL) && (2147483645LL - (long long )c)
        + (long long )i >= 0LL) && (2147483645LL + (long long )i) - (long long )length
        >= 0LL) && (2147483645LL + (long long )i) - (long long )n >= 0LL) && (2147483650LL
        + (long long )c) - (long long )i >= 0LL) && (2147483649LL - (long long )c)
        - (long long )i >= 0LL) && (2147483649LL - (long long )i) - (long long )length
        >= 0LL) && (2147483649LL - (long long )i) - (long long )n >= 0LL) && i ==
        2)) || ((((((((((((((((1 <= n && (-2LL + (long long )length) + (long long
        )n >= 0LL) && (-2LL + (long long )i) + (long long )length >= 0LL) && (-2LL
        + (long long )i) + (long long )n >= 0LL) && (2147483647LL + (long long )c)
        + (long long )n >= 0LL) && (2147483647LL + (long long )c) + (long long )i
        >= 0LL) && (0LL - (long long )i) + (long long )length >= 0LL) && (2147483646LL
        - (long long )length) + (long long )n >= 0LL) && (2147483646LL - (long long
        )c) + (long long )n >= 0LL) && (2147483646LL - (long long )c) + (long long
        )i >= 0LL) && (2147483646LL + (long long )i) - (long long )length >= 0LL)
        && (2147483646LL + (long long )i) - (long long )n >= 0LL) && (2147483649LL
        + (long long )c) - (long long )i >= 0LL) && (2147483648LL - (long long )c)
        - (long long )i >= 0LL) && (2147483648LL - (long long )i) - (long long )length
        >= 0LL) && (2147483648LL - (long long )i) - (long long )n >= 0LL) && i ==
        1))) || ((((((((((((((((((1 <= n && (-2LL + (long long )length) + (long long
        )n >= 0LL) && (-1LL + (long long )i) + (long long )length >= 0LL) && (-1LL
        + (long long )i) + (long long )n >= 0LL) && (2147483647LL + (long long )c)
        + (long long )n >= 0LL) && (2147483648LL + (long long )c) + (long long )i
        >= 0LL) && (-1LL - (long long )i) + (long long )length >= 0LL) && (-1LL -
        (long long )i) + (long long )n >= 0LL) && (2147483646LL - (long long )length)
        + (long long )n >= 0LL) && (2147483646LL - (long long )c) + (long long )n
        >= 0LL) && (2147483647LL - (long long )c) + (long long )i >= 0LL) && (2147483647LL
        + (long long )i) - (long long )length >= 0LL) && (2147483647LL + (long long
        )i) - (long long )n >= 0LL) && (2147483648LL + (long long )c) - (long long
        )i >= 0LL) && (2147483647LL - (long long )c) - (long long )i >= 0LL) && (2147483647LL
        - (long long )i) - (long long )length >= 0LL) && (2147483647LL - (long long
        )i) - (long long )n >= 0LL) && 0 == i) && i == 0)
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/openbsd_cmemchr-alloca-2.i
        line: 518
        column: 3
        function: cmemchr
      value: 1U <= n
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/openbsd_cmemchr-alloca-2.i
        line: 518
        column: 3
        function: cmemchr
      value: (2147483647LL + (long long )c) + (long long )n >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/openbsd_cmemchr-alloca-2.i
        line: 518
        column: 3
        function: cmemchr
      value: (2147483646LL - (long long )c) + (long long )n >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/openbsd_cmemchr-alloca-2.i
        line: 518
        column: 3
        function: cmemchr
      value: (((((n <= 2147483643U && (4294967291LL + (long long )c) - (long long
        )n >= 0LL) && (4294967290LL - (long long )c) - (long long )n >= 0LL) || ((n
        <= 2147483644U && (4294967292LL + (long long )c) - (long long )n >= 0LL) &&
        (4294967291LL - (long long )c) - (long long )n >= 0LL)) || ((n <= 2147483645U
        && (4294967293LL + (long long )c) - (long long )n >= 0LL) && (4294967292LL
        - (long long )c) - (long long )n >= 0LL)) || ((n <= 2147483646U && (4294967294LL
        + (long long )c) - (long long )n >= 0LL) && (4294967293LL - (long long )c)
        - (long long )n >= 0LL)) || (((n <= 2147483647U && (4294967295LL + (long long
        )c) - (long long )n >= 0LL) && (4294967294LL - (long long )c) - (long long
        )n >= 0LL) && s == p)
      format: c_expression
