- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.1"
    uuid: 1725cb14-3441-4aa8-99eb-f3e98ae3a118
    creation_time: 2024-09-27T12:03:31Z
    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/stack-1.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i: a5e93db72222dd521789305cbf7823ac91f269c62c97020d54f95f5ba14d3fd2
      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/stack-1.i
        file_hash: a5e93db72222dd521789305cbf7823ac91f269c62c97020d54f95f5ba14d3fd2
        line: 1022
        column: 3
        function: main
      updates:
      - variable: multithreaded
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i
        file_hash: a5e93db72222dd521789305cbf7823ac91f269c62c97020d54f95f5ba14d3fd2
        line: 1014
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i
        file_hash: a5e93db72222dd521789305cbf7823ac91f269c62c97020d54f95f5ba14d3fd2
        line: 1008
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i
        file_hash: a5e93db72222dd521789305cbf7823ac91f269c62c97020d54f95f5ba14d3fd2
        line: 1014
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i
        file_hash: a5e93db72222dd521789305cbf7823ac91f269c62c97020d54f95f5ba14d3fd2
        line: 1008
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i
        file_hash: a5e93db72222dd521789305cbf7823ac91f269c62c97020d54f95f5ba14d3fd2
        line: 1014
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i
        file_hash: a5e93db72222dd521789305cbf7823ac91f269c62c97020d54f95f5ba14d3fd2
        line: 1008
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i
        file_hash: a5e93db72222dd521789305cbf7823ac91f269c62c97020d54f95f5ba14d3fd2
        line: 1014
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i
        file_hash: a5e93db72222dd521789305cbf7823ac91f269c62c97020d54f95f5ba14d3fd2
        line: 1008
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i
        file_hash: a5e93db72222dd521789305cbf7823ac91f269c62c97020d54f95f5ba14d3fd2
        line: 1014
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i
        file_hash: a5e93db72222dd521789305cbf7823ac91f269c62c97020d54f95f5ba14d3fd2
        line: 1008
        column: 5
        function: t2
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i
        file_hash: a5e93db72222dd521789305cbf7823ac91f269c62c97020d54f95f5ba14d3fd2
        line: 999
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i
        file_hash: a5e93db72222dd521789305cbf7823ac91f269c62c97020d54f95f5ba14d3fd2
        line: 994
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i
        file_hash: a5e93db72222dd521789305cbf7823ac91f269c62c97020d54f95f5ba14d3fd2
        line: 999
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i
        file_hash: a5e93db72222dd521789305cbf7823ac91f269c62c97020d54f95f5ba14d3fd2
        line: 994
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i
        file_hash: a5e93db72222dd521789305cbf7823ac91f269c62c97020d54f95f5ba14d3fd2
        line: 999
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i
        file_hash: a5e93db72222dd521789305cbf7823ac91f269c62c97020d54f95f5ba14d3fd2
        line: 994
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i
        file_hash: a5e93db72222dd521789305cbf7823ac91f269c62c97020d54f95f5ba14d3fd2
        line: 999
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i
        file_hash: a5e93db72222dd521789305cbf7823ac91f269c62c97020d54f95f5ba14d3fd2
        line: 994
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i
        file_hash: a5e93db72222dd521789305cbf7823ac91f269c62c97020d54f95f5ba14d3fd2
        line: 999
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i
        file_hash: a5e93db72222dd521789305cbf7823ac91f269c62c97020d54f95f5ba14d3fd2
        line: 994
        column: 5
        function: t1
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.1"
    uuid: 21b9dcd7-83d1-40e1-be78-f917d6324560
    creation_time: 2024-09-27T12:03:31Z
    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/stack-1.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i: a5e93db72222dd521789305cbf7823ac91f269c62c97020d54f95f5ba14d3fd2
      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/stack-1.i
        file_hash: a5e93db72222dd521789305cbf7823ac91f269c62c97020d54f95f5ba14d3fd2
        line: 1023
        column: 3
        function: main
      value: '! multithreaded || flag == (_Bool)0'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stack-1.i
        file_hash: a5e93db72222dd521789305cbf7823ac91f269c62c97020d54f95f5ba14d3fd2
        line: 1024
        column: 3
        function: main
      value: '! multithreaded || flag == (_Bool)0'
      format: c_expression
