- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.1"
    uuid: cd2b97d6-ad4e-457d-aa40-24d7855568f0
    creation_time: 2024-09-27T12:03:29Z
    producer:
      name: Goblint
      version: heads/yaml-witness-ghost-0-g852297b68-dirty
      command_line: '''./goblint'' ''--conf'' ''conf/svcomp-ghost.json'' ''--set''
        ''ana.base.privatization'' ''protection'' ''--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/queue_longest.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longest.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longest.i: 5fb3c623242420f3b3352ce2377df781fcc1efd56f82dd0011f9620e127821b3
      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/queue_longest.i
        file_hash: 5fb3c623242420f3b3352ce2377df781fcc1efd56f82dd0011f9620e127821b3
        line: 1062
        column: 3
        function: main
      updates:
      - variable: multithreaded
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longest.i
        file_hash: 5fb3c623242420f3b3352ce2377df781fcc1efd56f82dd0011f9620e127821b3
        line: 1048
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longest.i
        file_hash: 5fb3c623242420f3b3352ce2377df781fcc1efd56f82dd0011f9620e127821b3
        line: 1039
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longest.i
        file_hash: 5fb3c623242420f3b3352ce2377df781fcc1efd56f82dd0011f9620e127821b3
        line: 1048
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longest.i
        file_hash: 5fb3c623242420f3b3352ce2377df781fcc1efd56f82dd0011f9620e127821b3
        line: 1039
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longest.i
        file_hash: 5fb3c623242420f3b3352ce2377df781fcc1efd56f82dd0011f9620e127821b3
        line: 1048
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longest.i
        file_hash: 5fb3c623242420f3b3352ce2377df781fcc1efd56f82dd0011f9620e127821b3
        line: 1039
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longest.i
        file_hash: 5fb3c623242420f3b3352ce2377df781fcc1efd56f82dd0011f9620e127821b3
        line: 1048
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longest.i
        file_hash: 5fb3c623242420f3b3352ce2377df781fcc1efd56f82dd0011f9620e127821b3
        line: 1039
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longest.i
        file_hash: 5fb3c623242420f3b3352ce2377df781fcc1efd56f82dd0011f9620e127821b3
        line: 1048
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longest.i
        file_hash: 5fb3c623242420f3b3352ce2377df781fcc1efd56f82dd0011f9620e127821b3
        line: 1039
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longest.i
        file_hash: 5fb3c623242420f3b3352ce2377df781fcc1efd56f82dd0011f9620e127821b3
        line: 1029
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longest.i
        file_hash: 5fb3c623242420f3b3352ce2377df781fcc1efd56f82dd0011f9620e127821b3
        line: 1020
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longest.i
        file_hash: 5fb3c623242420f3b3352ce2377df781fcc1efd56f82dd0011f9620e127821b3
        line: 1029
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longest.i
        file_hash: 5fb3c623242420f3b3352ce2377df781fcc1efd56f82dd0011f9620e127821b3
        line: 1020
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longest.i
        file_hash: 5fb3c623242420f3b3352ce2377df781fcc1efd56f82dd0011f9620e127821b3
        line: 1029
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longest.i
        file_hash: 5fb3c623242420f3b3352ce2377df781fcc1efd56f82dd0011f9620e127821b3
        line: 1020
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longest.i
        file_hash: 5fb3c623242420f3b3352ce2377df781fcc1efd56f82dd0011f9620e127821b3
        line: 1029
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longest.i
        file_hash: 5fb3c623242420f3b3352ce2377df781fcc1efd56f82dd0011f9620e127821b3
        line: 1020
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longest.i
        file_hash: 5fb3c623242420f3b3352ce2377df781fcc1efd56f82dd0011f9620e127821b3
        line: 1029
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longest.i
        file_hash: 5fb3c623242420f3b3352ce2377df781fcc1efd56f82dd0011f9620e127821b3
        line: 1020
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longest.i
        file_hash: 5fb3c623242420f3b3352ce2377df781fcc1efd56f82dd0011f9620e127821b3
        line: 1029
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longest.i
        file_hash: 5fb3c623242420f3b3352ce2377df781fcc1efd56f82dd0011f9620e127821b3
        line: 1020
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longest.i
        file_hash: 5fb3c623242420f3b3352ce2377df781fcc1efd56f82dd0011f9620e127821b3
        line: 1017
        column: 3
        function: t1
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longest.i
        file_hash: 5fb3c623242420f3b3352ce2377df781fcc1efd56f82dd0011f9620e127821b3
        line: 1008
        column: 3
        function: t1
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.1"
    uuid: 7a5047a5-7354-419a-a9d8-b8513b1e1e96
    creation_time: 2024-09-27T12:03:29Z
    producer:
      name: Goblint
      version: heads/yaml-witness-ghost-0-g852297b68-dirty
      command_line: '''./goblint'' ''--conf'' ''conf/svcomp-ghost.json'' ''--set''
        ''ana.base.privatization'' ''protection'' ''--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/queue_longest.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longest.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longest.i: 5fb3c623242420f3b3352ce2377df781fcc1efd56f82dd0011f9620e127821b3
      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/queue_longest.i
        file_hash: 5fb3c623242420f3b3352ce2377df781fcc1efd56f82dd0011f9620e127821b3
        line: 1063
        column: 3
        function: main
      value: '! multithreaded || (((0 <= queue.head && 0 <= queue.tail) && queue.head
        <= 800) && queue.tail <= 800)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/queue_longest.i
        file_hash: 5fb3c623242420f3b3352ce2377df781fcc1efd56f82dd0011f9620e127821b3
        line: 1064
        column: 3
        function: main
      value: '! multithreaded || (((0 <= queue.head && 0 <= queue.tail) && queue.head
        <= 800) && queue.tail <= 800)'
      format: c_expression
