- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.1"
    uuid: 6ecb7934-0c61-439f-a980-19ac915cc1e6
    creation_time: 2024-09-27T12:08:19Z
    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/goblint-regression/28-race_reach_05-lockfuns_racefree.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/28-race_reach_05-lockfuns_racefree.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/28-race_reach_05-lockfuns_racefree.i: 1fe12ce8951e45860142b9cebaa325eef531c18fa917882c03ee5396afb187f5
      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: __global_lock_locked
      scope: global
      type: int
      initial:
        value: "0"
        format: c_expression
    - name: mutex_locked
      scope: global
      type: int
      initial:
        value: "0"
        format: c_expression
    ghost_updates:
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/28-race_reach_05-lockfuns_racefree.i
        file_hash: 1fe12ce8951e45860142b9cebaa325eef531c18fa917882c03ee5396afb187f5
        line: 714
        column: 78
        function: main
      updates:
      - variable: __global_lock_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/28-race_reach_05-lockfuns_racefree.i
        file_hash: 1fe12ce8951e45860142b9cebaa325eef531c18fa917882c03ee5396afb187f5
        line: 714
        column: 8
        function: main
      updates:
      - variable: __global_lock_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/28-race_reach_05-lockfuns_racefree.i
        file_hash: 1fe12ce8951e45860142b9cebaa325eef531c18fa917882c03ee5396afb187f5
        line: 712
        column: 55
        function: main
      updates:
      - variable: multithreaded
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/28-race_reach_05-lockfuns_racefree.i
        file_hash: 1fe12ce8951e45860142b9cebaa325eef531c18fa917882c03ee5396afb187f5
        line: 707
        column: 165
        function: t_fun
      updates:
      - variable: __global_lock_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/28-race_reach_05-lockfuns_racefree.i
        file_hash: 1fe12ce8951e45860142b9cebaa325eef531c18fa917882c03ee5396afb187f5
        line: 707
        column: 117
        function: t_fun
      updates:
      - variable: __global_lock_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/28-race_reach_05-lockfuns_racefree.i
        file_hash: 1fe12ce8951e45860142b9cebaa325eef531c18fa917882c03ee5396afb187f5
        line: 707
        column: 61
        function: t_fun
      updates:
      - variable: __global_lock_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/28-race_reach_05-lockfuns_racefree.i
        file_hash: 1fe12ce8951e45860142b9cebaa325eef531c18fa917882c03ee5396afb187f5
        line: 707
        column: 13
        function: t_fun
      updates:
      - variable: __global_lock_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/28-race_reach_05-lockfuns_racefree.i
        file_hash: 1fe12ce8951e45860142b9cebaa325eef531c18fa917882c03ee5396afb187f5
        line: 703
        column: 3
        function: unlock
      updates:
      - variable: mutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/28-race_reach_05-lockfuns_racefree.i
        file_hash: 1fe12ce8951e45860142b9cebaa325eef531c18fa917882c03ee5396afb187f5
        line: 700
        column: 3
        function: lock
      updates:
      - variable: mutex_locked
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.1"
    uuid: 9caaad30-8f24-46d4-a38b-c90929af65af
    creation_time: 2024-09-27T12:08:19Z
    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/goblint-regression/28-race_reach_05-lockfuns_racefree.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/28-race_reach_05-lockfuns_racefree.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/28-race_reach_05-lockfuns_racefree.i: 1fe12ce8951e45860142b9cebaa325eef531c18fa917882c03ee5396afb187f5
      data_model: ILP32
      language: C
      specification: CHECK( init(main()), LTL(G ! call(reach_error())) )
  content: []
