- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.1"
    uuid: 648146f3-fe58-4c12-834b-8c6658e3d3eb
    creation_time: 2024-09-27T12:03:32Z
    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/stateful01-2.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stateful01-2.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stateful01-2.i: e2334be94e5a4379173e8ce9878c152630508647bf4da61c6cf055a5b5360d8e
      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: ma_locked
      scope: global
      type: int
      initial:
        value: "0"
        format: c_expression
    ghost_updates:
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stateful01-2.i
        file_hash: e2334be94e5a4379173e8ce9878c152630508647bf4da61c6cf055a5b5360d8e
        line: 721
        column: 3
        function: main
      updates:
      - variable: multithreaded
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stateful01-2.i
        file_hash: e2334be94e5a4379173e8ce9878c152630508647bf4da61c6cf055a5b5360d8e
        line: 711
        column: 3
        function: thread2
      updates:
      - variable: ma_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stateful01-2.i
        file_hash: e2334be94e5a4379173e8ce9878c152630508647bf4da61c6cf055a5b5360d8e
        line: 709
        column: 3
        function: thread2
      updates:
      - variable: ma_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stateful01-2.i
        file_hash: e2334be94e5a4379173e8ce9878c152630508647bf4da61c6cf055a5b5360d8e
        line: 708
        column: 3
        function: thread2
      updates:
      - variable: ma_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stateful01-2.i
        file_hash: e2334be94e5a4379173e8ce9878c152630508647bf4da61c6cf055a5b5360d8e
        line: 706
        column: 3
        function: thread2
      updates:
      - variable: ma_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stateful01-2.i
        file_hash: e2334be94e5a4379173e8ce9878c152630508647bf4da61c6cf055a5b5360d8e
        line: 701
        column: 3
        function: thread1
      updates:
      - variable: ma_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stateful01-2.i
        file_hash: e2334be94e5a4379173e8ce9878c152630508647bf4da61c6cf055a5b5360d8e
        line: 699
        column: 3
        function: thread1
      updates:
      - variable: ma_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stateful01-2.i
        file_hash: e2334be94e5a4379173e8ce9878c152630508647bf4da61c6cf055a5b5360d8e
        line: 698
        column: 3
        function: thread1
      updates:
      - variable: ma_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stateful01-2.i
        file_hash: e2334be94e5a4379173e8ce9878c152630508647bf4da61c6cf055a5b5360d8e
        line: 696
        column: 3
        function: thread1
      updates:
      - variable: ma_locked
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.1"
    uuid: ae3cf573-730d-4d5a-b71e-c9e2d8453b74
    creation_time: 2024-09-27T12:03:32Z
    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/stateful01-2.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stateful01-2.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stateful01-2.i: e2334be94e5a4379173e8ce9878c152630508647bf4da61c6cf055a5b5360d8e
      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/stateful01-2.i
        file_hash: e2334be94e5a4379173e8ce9878c152630508647bf4da61c6cf055a5b5360d8e
        line: 722
        column: 3
        function: main
      value: '! multithreaded || 10 <= data1'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stateful01-2.i
        file_hash: e2334be94e5a4379173e8ce9878c152630508647bf4da61c6cf055a5b5360d8e
        line: 723
        column: 3
        function: main
      value: '! multithreaded || 10 <= data1'
      format: c_expression
