- entry_type: invariant_set
  metadata:
    format_version: "2.0"
    uuid: 3925e2bb-2334-498d-bb0d-bc2fcfe2bcf3
    creation_time: 2025-03-20T23:30:50Z
    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_cstpncpy-alloca-1.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/openbsd_cstpncpy-alloca-1.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/openbsd_cstpncpy-alloca-1.i: 36c3a12d89778d96e6058a4f11ff4e1483403bd2fab9b14de640491057c7f753
      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_cstpncpy-alloca-1.i
        line: 520
        column: 3
        function: cstpncpy
      value: 1U <= n
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/openbsd_cstpncpy-alloca-1.i
        line: 520
        column: 3
        function: cstpncpy
      value: (((n <= 2147483644U || n <= 2147483646U) || n <= 2147483643U) || n <=
        2147483645U) || (n <= 2147483647U && src == s)
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/openbsd_cstpncpy-alloca-1.i
        line: 543
        column: 2
        function: main
      value: 1 <= n
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/openbsd_cstpncpy-alloca-1.i
        line: 543
        column: 2
        function: main
      value: (-1LL - (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/openbsd_cstpncpy-alloca-1.i
        line: 543
        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_cstpncpy-alloca-1.i
        line: 543
        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_cstpncpy-alloca-1.i
        line: 543
        column: 2
        function: main
      value: (((((((((((((3 <= length && (-5LL + (long long )i) + (long long )length
        >= 0LL) && (-4LL + (long long )length) + (long long )n >= 0LL) && (-3LL +
        (long long )i) + (long long )n >= 0LL) && (1LL - (long long )i) + (long long
        )n >= 0LL) && (2147483644LL + (long long )length) - (long long )n >= 0LL)
        && (2147483645LL + (long long )i) - (long long )length >= 0LL) && (2147483645LL
        + (long long )i) - (long long )n >= 0LL) && (2147483649LL - (long long )i)
        - (long long )length >= 0LL) && (2147483649LL - (long long )i) - (long long
        )n >= 0LL) && i == 2) || ((((((((((2 <= length && (-3LL + (long long )length)
        + (long long )n >= 0LL) && (-3LL + (long long )i) + (long long )length >=
        0LL) && (-2LL + (long long )i) + (long long )n >= 0LL) && (0LL - (long long
        )i) + (long long )n >= 0LL) && (2147483645LL + (long long )length) - (long
        long )n >= 0LL) && (2147483646LL + (long long )i) - (long long )length >=
        0LL) && (2147483646LL + (long long )i) - (long long )n >= 0LL) && (2147483648LL
        - (long long )i) - (long long )length >= 0LL) && (2147483648LL - (long long
        )i) - (long long )n >= 0LL) && i == 1)) || (((((((((((1 <= length && (-2LL
        + (long long )length) + (long long )n >= 0LL) && (-1LL + (long long )i) +
        (long long )length >= 0LL) && (-1LL + (long long )i) + (long long )n >= 0LL)
        && (-1LL - (long long )i) + (long long )n >= 0LL) && (2147483646LL + (long
        long )length) - (long long )n >= 0LL) && (2147483647LL + (long long )i) -
        (long long )length >= 0LL) && (2147483647LL + (long long )i) - (long long
        )n >= 0LL) && (2147483647LL - (long long )i) - (long long )length >= 0LL)
        && (2147483647LL - (long long )i) - (long long )n >= 0LL) && 0 == i) && i
        == 0)) || (((((((((((4 <= i && 5 <= length) && i <= 2147483646) && (-9LL +
        (long long )i) + (long long )length >= 0LL) && (-6LL + (long long )length)
        + (long long )n >= 0LL) && (-5LL + (long long )i) + (long long )n >= 0LL)
        && (2147483645LL - (long long )i) + (long long )n >= 0LL) && (2147483642LL
        + (long long )length) - (long long )n >= 0LL) && (2147483643LL + (long long
        )i) - (long long )length >= 0LL) && (2147483643LL + (long long )i) - (long
        long )n >= 0LL) && (4294967293LL - (long long )i) - (long long )length >=
        0LL) && (4294967293LL - (long long )i) - (long long )n >= 0LL)) || ((((((((((4
        <= length && (-7LL + (long long )i) + (long long )length >= 0LL) && (-5LL
        + (long long )length) + (long long )n >= 0LL) && (-4LL + (long long )i) +
        (long long )n >= 0LL) && (2LL - (long long )i) + (long long )n >= 0LL) &&
        (2147483643LL + (long long )length) - (long long )n >= 0LL) && (2147483644LL
        + (long long )i) - (long long )length >= 0LL) && (2147483644LL + (long long
        )i) - (long long )n >= 0LL) && (2147483650LL - (long long )i) - (long long
        )length >= 0LL) && (2147483650LL - (long long )i) - (long long )n >= 0LL)
        && i == 3)
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/openbsd_cstpncpy-alloca-1.i
        line: 523
        column: 5
        function: cstpncpy
      value: 1U <= n
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/array-memsafety/openbsd_cstpncpy-alloca-1.i
        line: 523
        column: 5
        function: cstpncpy
      value: (((((((((((((((((((((((n <= 2147483641U || n <= 2147483643U) || n <=
        2147483642U) || n <= 2147483644U) || n <= 2147483643U) || n <= 2147483645U)
        || n <= 2147483644U) || n <= 2147483646U) || n <= 2147483639U) || n <= 2147483641U)
        || n <= 2147483643U) || n <= 2147483640U) || n <= 2147483642U) || n <= 2147483641U)
        || n <= 2147483644U) || n <= 2147483643U) || n <= 2147483642U) || n <= 2147483645U)
        || n <= 2147483644U) || n <= 2147483643U) || n <= 2147483646U) || n <= 2147483645U)
        || n <= 2147483647U) || n <= 2147483640U) || n <= 2147483642U
      format: c_expression
