- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.1"
    uuid: 7ef9ad04-3f1a-4640-9840-9e944cf028c6
    creation_time: 2024-09-27T12:07:56Z
    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-C-DAC/pthread-demo-datarace-1.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
      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: mymutex_locked
      scope: global
      type: int
      initial:
        value: "0"
        format: c_expression
    ghost_updates:
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1351
        column: 9
        function: main
      updates:
      - variable: mymutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1349
        column: 9
        function: main
      updates:
      - variable: mymutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1351
        column: 9
        function: main
      updates:
      - variable: mymutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1349
        column: 9
        function: main
      updates:
      - variable: mymutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1351
        column: 9
        function: main
      updates:
      - variable: mymutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1349
        column: 9
        function: main
      updates:
      - variable: mymutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1351
        column: 9
        function: main
      updates:
      - variable: mymutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1349
        column: 9
        function: main
      updates:
      - variable: mymutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1351
        column: 9
        function: main
      updates:
      - variable: mymutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1349
        column: 9
        function: main
      updates:
      - variable: mymutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1351
        column: 9
        function: main
      updates:
      - variable: mymutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1349
        column: 9
        function: main
      updates:
      - variable: mymutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1351
        column: 9
        function: main
      updates:
      - variable: mymutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1349
        column: 9
        function: main
      updates:
      - variable: mymutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1351
        column: 9
        function: main
      updates:
      - variable: mymutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1349
        column: 9
        function: main
      updates:
      - variable: mymutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1351
        column: 9
        function: main
      updates:
      - variable: mymutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1349
        column: 9
        function: main
      updates:
      - variable: mymutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1351
        column: 9
        function: main
      updates:
      - variable: mymutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1349
        column: 9
        function: main
      updates:
      - variable: mymutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1351
        column: 9
        function: main
      updates:
      - variable: mymutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1349
        column: 9
        function: main
      updates:
      - variable: mymutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1351
        column: 9
        function: main
      updates:
      - variable: mymutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1349
        column: 9
        function: main
      updates:
      - variable: mymutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1351
        column: 9
        function: main
      updates:
      - variable: mymutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1349
        column: 9
        function: main
      updates:
      - variable: mymutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1343
        column: 10
        function: main
      updates:
      - variable: multithreaded
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1330
        column: 9
        function: thread_function_mutex
      updates:
      - variable: mymutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1325
        column: 9
        function: thread_function_mutex
      updates:
      - variable: mymutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1330
        column: 9
        function: thread_function_mutex
      updates:
      - variable: mymutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1325
        column: 9
        function: thread_function_mutex
      updates:
      - variable: mymutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1330
        column: 9
        function: thread_function_mutex
      updates:
      - variable: mymutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1325
        column: 9
        function: thread_function_mutex
      updates:
      - variable: mymutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1330
        column: 9
        function: thread_function_mutex
      updates:
      - variable: mymutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1325
        column: 9
        function: thread_function_mutex
      updates:
      - variable: mymutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1330
        column: 9
        function: thread_function_mutex
      updates:
      - variable: mymutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1325
        column: 9
        function: thread_function_mutex
      updates:
      - variable: mymutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1330
        column: 9
        function: thread_function_mutex
      updates:
      - variable: mymutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1325
        column: 9
        function: thread_function_mutex
      updates:
      - variable: mymutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1330
        column: 9
        function: thread_function_mutex
      updates:
      - variable: mymutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1325
        column: 9
        function: thread_function_mutex
      updates:
      - variable: mymutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1330
        column: 9
        function: thread_function_mutex
      updates:
      - variable: mymutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1325
        column: 9
        function: thread_function_mutex
      updates:
      - variable: mymutex_locked
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.1"
    uuid: a73db878-962a-4c42-af01-581c70a94fc8
    creation_time: 2024-09-27T12:07:56Z
    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-C-DAC/pthread-demo-datarace-1.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-demo-datarace-1.i: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
      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-C-DAC/pthread-demo-datarace-1.i
        file_hash: 81147b3e42a82bd92b2fd1c17836bc41bf8598e66ad2317620561a8ac507fa9a
        line: 1343
        column: 5
        function: main
      value: '! multithreaded || 0 <= myglobal'
      format: c_expression
