- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.1"
    uuid: ca5a93cb-e04c-42a4-8e9a-ee069a9c8188
    creation_time: 2024-09-27T14:09:18Z
    producer:
      name: Goblint
      version: heads/yaml-witness-ghost-0-g852297b68-dirty
      command_line: '''./goblint'' ''--conf'' ''conf/svcomp-ghost.json'' ''--set''
        ''ana.base.privatization'' ''mutex-meet'' ''--set'' ''ana.activated[+]'' ''apron''
        ''--set'' ''ana.autotune.activated[-]'' ''octagon'' ''--sets'' ''ana.specification''
        ''/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/properties/unreach-call.prp''
        ''--sets'' ''exp.architecture'' ''32bit'' ''/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
      data_model: ILP32
      language: C
      specification: CHECK( init(main()), LTL(G ! call(reach_error())) )
  content:
    ghost_variables:
    - name: multithreaded
      scope: global
      type: int
      initial:
        value: "0"
        format: c_expression
    - name: m_locked
      scope: global
      type: int
      initial:
        value: "0"
        format: c_expression
    ghost_updates:
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
        file_hash: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
        line: 763
        column: 3
        function: main
      updates:
      - variable: multithreaded
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
        file_hash: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
        line: 753
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
        file_hash: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
        line: 745
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
        file_hash: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
        line: 753
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
        file_hash: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
        line: 745
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
        file_hash: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
        line: 753
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
        file_hash: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
        line: 745
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
        file_hash: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
        line: 753
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
        file_hash: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
        line: 745
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
        file_hash: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
        line: 753
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
        file_hash: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
        line: 745
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
        file_hash: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
        line: 753
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
        file_hash: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
        line: 745
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
        file_hash: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
        line: 736
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
        file_hash: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
        line: 727
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
        file_hash: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
        line: 736
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
        file_hash: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
        line: 727
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
        file_hash: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
        line: 736
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
        file_hash: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
        line: 727
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
        file_hash: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
        line: 736
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
        file_hash: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
        line: 727
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
        file_hash: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
        line: 736
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
        file_hash: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
        line: 727
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
        file_hash: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
        line: 736
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
        file_hash: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
        line: 727
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.1"
    uuid: 30414861-f63c-4152-b5b8-0e7d061cb746
    creation_time: 2024-09-27T14:09:18Z
    producer:
      name: Goblint
      version: heads/yaml-witness-ghost-0-g852297b68-dirty
      command_line: '''./goblint'' ''--conf'' ''conf/svcomp-ghost.json'' ''--set''
        ''ana.base.privatization'' ''mutex-meet'' ''--set'' ''ana.activated[+]'' ''apron''
        ''--set'' ''ana.autotune.activated[-]'' ''octagon'' ''--sets'' ''ana.specification''
        ''/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/properties/unreach-call.prp''
        ''--sets'' ''exp.architecture'' ''32bit'' ''/mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
      data_model: ILP32
      language: C
      specification: CHECK( init(main()), LTL(G ! call(reach_error())) )
  content:
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
        file_hash: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
        line: 764
        column: 3
        function: main
      value: '! multithreaded || (0 <= value && value <= 6)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
        file_hash: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
        line: 765
        column: 3
        function: main
      value: '! multithreaded || (0 <= value && value <= 6)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
        file_hash: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
        line: 764
        column: 3
        function: main
      value: '! multithreaded || (m_locked || (0 <= value && value <= 7))'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
        file_hash: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
        line: 765
        column: 3
        function: main
      value: '! multithreaded || (m_locked || (0 <= value && value <= 7))'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
        file_hash: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
        line: 764
        column: 3
        function: main
      value: '! multithreaded || (m_locked || ((-1LL + (long long )receive) + (long
        long )send >= 0LL && (1LL - (long long )receive) - (long long )send >= 0LL))'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-deagle/circular_buffer_ok.i
        file_hash: 8fcb457b1bed8494a9a3b58e82500f367f4337ac38b5a41a5dad0da896f97e40
        line: 765
        column: 3
        function: main
      value: '! multithreaded || (m_locked || ((-1LL + (long long )receive) + (long
        long )send >= 0LL && (1LL - (long long )receive) - (long long )send >= 0LL))'
      format: c_expression
