- entry_type: invariant_set
  metadata:
    format_version: "2.0"
    uuid: d8c8c102-403c-4825-8bf4-fa094532ff09
    creation_time: 2025-03-22T16:57:57Z
    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/termination.prp''
        ''--sets'' ''exp.architecture'' ''64bit'' ''/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/termination-15/cstrncpy_malloc.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/termination-15/cstrncpy_malloc.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/termination-15/cstrncpy_malloc.i: 6e588807776461813c1ae9106dc80912b11e9df5504cf2f27974dc29a72efbfe
      data_model: LP64
      language: C
      specification: CHECK( init(main()), LTL(F end) )
  content:
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/termination-15/cstrncpy_malloc.i
        line: 375
        column: 14
        function: cstrncpy
      value: 0 <= n
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/termination-15/cstrncpy_malloc.i
        line: 375
        column: 14
        function: cstrncpy
      value: n <= 2147483646
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/termination-15/cstrncpy_malloc.i
        line: 375
        column: 14
        function: cstrncpy
      value: (-1 <= n2 && (((((((n2 <= 2147483642 && (-4LL + (long long )n) + (long
        long )n2 >= 0LL) && (2147483646LL - (long long )n) + (long long )n2 >= 0LL)
        && (-4LL + (long long )n) - (long long )n2 >= 0LL) && (4294967288LL - (long
        long )n) - (long long )n2 >= 0LL) || ((((n2 <= 2147483643 && (-3LL + (long
        long )n) + (long long )n2 >= 0LL) && (3LL - (long long )n) + (long long )n2
        >= 0LL) && (-3LL + (long long )n) - (long long )n2 >= 0LL) && (4294967289LL
        - (long long )n) - (long long )n2 >= 0LL)) || ((((n2 <= 2147483644 && (-2LL
        + (long long )n) + (long long )n2 >= 0LL) && (2LL - (long long )n) + (long
        long )n2 >= 0LL) && (-2LL + (long long )n) - (long long )n2 >= 0LL) && (4294967290LL
        - (long long )n) - (long long )n2 >= 0LL)) || ((((n2 <= 2147483645 && (-1LL
        + (long long )n) + (long long )n2 >= 0LL) && (1LL - (long long )n) + (long
        long )n2 >= 0LL) && (-1LL + (long long )n) - (long long )n2 >= 0LL) && (4294967291LL
        - (long long )n) - (long long )n2 >= 0LL))) || (((((((0 <= n2 && n2 <= 2147483646)
        && (0LL - (long long )n) + (long long )n2 >= 0LL) && (long long )n + (long
        long )n2 >= 0LL) && (4294967292LL - (long long )n) - (long long )n2 >= 0LL)
        && (long long )n - (long long )n2 >= 0LL) && n == n2) && dst == us)
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/termination-15/cstrncpy_malloc.i
        line: 370
        column: 6
        function: cstrncpy
      value: 1 <= n
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/termination-15/cstrncpy_malloc.i
        line: 370
        column: 6
        function: cstrncpy
      value: (2147483647LL + (long long )n) + (long long )n2 >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/termination-15/cstrncpy_malloc.i
        line: 370
        column: 6
        function: cstrncpy
      value: (4294967295LL - (long long )n) + (long long )n2 >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/termination-15/cstrncpy_malloc.i
        line: 370
        column: 6
        function: cstrncpy
      value: (2147483646LL + (long long )n) - (long long )n2 >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/termination-15/cstrncpy_malloc.i
        line: 370
        column: 6
        function: cstrncpy
      value: (4294967294LL - (long long )n) - (long long )n2 >= 0LL
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/termination-15/cstrncpy_malloc.i
        line: 370
        column: 6
        function: cstrncpy
      value: s1 == dst
      format: c_expression
  - invariant:
      type: loop_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/termination-15/cstrncpy_malloc.i
        line: 370
        column: 6
        function: cstrncpy
      value: s2 == src
      format: c_expression
