- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.1"
    uuid: 10deec78-5789-4184-83c1-6cb5688f96eb
    creation_time: 2024-09-27T12:03:36Z
    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-atomic/time_var_mutex.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/time_var_mutex.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/time_var_mutex.i: 1985bb251db70a1c798d345be7e1671f9dcc6a359b969ca99d23e0003d9a3770
      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_busy_locked
      scope: global
      type: int
      initial:
        value: "0"
        format: c_expression
    - name: m_inode_locked
      scope: global
      type: int
      initial:
        value: "0"
        format: c_expression
    ghost_updates:
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/time_var_mutex.i
        file_hash: 1985bb251db70a1c798d345be7e1671f9dcc6a359b969ca99d23e0003d9a3770
        line: 720
        column: 3
        function: main
      updates:
      - variable: multithreaded
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/time_var_mutex.i
        file_hash: 1985bb251db70a1c798d345be7e1671f9dcc6a359b969ca99d23e0003d9a3770
        line: 712
        column: 3
        function: de_allocator
      updates:
      - variable: m_busy_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/time_var_mutex.i
        file_hash: 1985bb251db70a1c798d345be7e1671f9dcc6a359b969ca99d23e0003d9a3770
        line: 707
        column: 3
        function: de_allocator
      updates:
      - variable: m_busy_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/time_var_mutex.i
        file_hash: 1985bb251db70a1c798d345be7e1671f9dcc6a359b969ca99d23e0003d9a3770
        line: 703
        column: 3
        function: allocator
      updates:
      - variable: m_inode_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/time_var_mutex.i
        file_hash: 1985bb251db70a1c798d345be7e1671f9dcc6a359b969ca99d23e0003d9a3770
        line: 698
        column: 5
        function: allocator
      updates:
      - variable: m_busy_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/time_var_mutex.i
        file_hash: 1985bb251db70a1c798d345be7e1671f9dcc6a359b969ca99d23e0003d9a3770
        line: 696
        column: 5
        function: allocator
      updates:
      - variable: m_busy_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/time_var_mutex.i
        file_hash: 1985bb251db70a1c798d345be7e1671f9dcc6a359b969ca99d23e0003d9a3770
        line: 694
        column: 3
        function: allocator
      updates:
      - variable: m_inode_locked
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.1"
    uuid: 09a7f402-a4a8-4786-b4bd-1aa8d5293873
    creation_time: 2024-09-27T12:03:36Z
    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-atomic/time_var_mutex.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/time_var_mutex.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/time_var_mutex.i: 1985bb251db70a1c798d345be7e1671f9dcc6a359b969ca99d23e0003d9a3770
      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-atomic/time_var_mutex.i
        file_hash: 1985bb251db70a1c798d345be7e1671f9dcc6a359b969ca99d23e0003d9a3770
        line: 721
        column: 3
        function: main
      value: '! multithreaded || (inode == 0 || inode == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/time_var_mutex.i
        file_hash: 1985bb251db70a1c798d345be7e1671f9dcc6a359b969ca99d23e0003d9a3770
        line: 722
        column: 3
        function: main
      value: '! multithreaded || (inode == 0 || inode == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/time_var_mutex.i
        file_hash: 1985bb251db70a1c798d345be7e1671f9dcc6a359b969ca99d23e0003d9a3770
        line: 721
        column: 3
        function: main
      value: '! multithreaded || (block == 0 || block == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/time_var_mutex.i
        file_hash: 1985bb251db70a1c798d345be7e1671f9dcc6a359b969ca99d23e0003d9a3770
        line: 722
        column: 3
        function: main
      value: '! multithreaded || (block == 0 || block == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/time_var_mutex.i
        file_hash: 1985bb251db70a1c798d345be7e1671f9dcc6a359b969ca99d23e0003d9a3770
        line: 721
        column: 3
        function: main
      value: '! multithreaded || (busy == 0 || busy == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/time_var_mutex.i
        file_hash: 1985bb251db70a1c798d345be7e1671f9dcc6a359b969ca99d23e0003d9a3770
        line: 722
        column: 3
        function: main
      value: '! multithreaded || (busy == 0 || busy == 1)'
      format: c_expression
