- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.0"
    uuid: 669ee337-2ca3-4b99-bbfb-a5674139a356
    creation_time: 2025-05-28T12:14:30Z
    producer:
      name: Goblint
      version: heads/master-0-gb8fb60e5d-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: 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
    - name: multithreaded
      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
        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
        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
        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
        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
        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
        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
        line: 694
        column: 3
        function: allocator
      updates:
      - variable: m_inode_locked
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.0"
    uuid: 73990791-d3dc-4854-a0df-e3d7596a13c7
    creation_time: 2025-05-28T12:14:30Z
    producer:
      name: Goblint
      version: heads/master-0-gb8fb60e5d-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
        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
        line: 722
        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
        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
        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
        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
        line: 722
        column: 3
        function: main
      value: '! multithreaded || (inode == 0 || inode == 1)'
      format: c_expression
