- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.1"
    uuid: 99809565-36a6-4318-85df-4e38a86f2c86
    creation_time: 2024-09-27T12:22:54Z
    producer:
      name: Goblint
      version: heads/yaml-witness-ghost-0-g852297b68-dirty
      command_line: '''./goblint'' ''--conf'' ''conf/svcomp-ghost.json'' ''--set''
        ''ana.base.privatization'' ''mutex-meet'' ''--set'' ''ana.activated[+]'' ''apron''
        ''--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: e659c005-a4c3-4f92-a210-3ebb73112d21
    creation_time: 2024-09-27T12:22:54Z
    producer:
      name: Goblint
      version: heads/yaml-witness-ghost-0-g852297b68-dirty
      command_line: '''./goblint'' ''--conf'' ''conf/svcomp-ghost.json'' ''--set''
        ''ana.base.privatization'' ''mutex-meet'' ''--set'' ''ana.activated[+]'' ''apron''
        ''--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 || (m_locked || 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 || (m_locked || 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: 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
