- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.0"
    uuid: 708a6487-70fd-45d4-9ab1-f57212b7fb01
    creation_time: 2025-05-28T12:16:19Z
    producer:
      name: Goblint
      version: heads/master-0-gb8fb60e5d-dirty
      command_line: '''./goblint'' ''--conf'' ''conf/svcomp-ghost.json'' ''--set''
        ''ana.base.privatization'' ''protection-read'' ''--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-wmm/safe005_tso.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe005_tso.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe005_tso.i: 0f4fff0b2b9fbf3a1c21190a7a3a2488ff184faa22678fe9af5f2740e4422fce
      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
    ghost_updates:
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe005_tso.i
        line: 781
        column: 3
        function: main
      updates:
      - variable: multithreaded
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.0"
    uuid: 136aa591-8675-42d4-9ade-f51ec42a18cb
    creation_time: 2025-05-28T12:16:19Z
    producer:
      name: Goblint
      version: heads/master-0-gb8fb60e5d-dirty
      command_line: '''./goblint'' ''--conf'' ''conf/svcomp-ghost.json'' ''--set''
        ''ana.base.privatization'' ''protection-read'' ''--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-wmm/safe005_tso.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe005_tso.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe005_tso.i: 0f4fff0b2b9fbf3a1c21190a7a3a2488ff184faa22678fe9af5f2740e4422fce
      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-wmm/safe005_tso.i
        line: 783
        column: 3
        function: main
      value: '! multithreaded || ((__unbuffered_p2_EBX == 0 || __unbuffered_p2_EBX
        == 1) || __unbuffered_p2_EBX == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe005_tso.i
        line: 785
        column: 3
        function: main
      value: '! multithreaded || ((__unbuffered_p2_EBX == 0 || __unbuffered_p2_EBX
        == 1) || __unbuffered_p2_EBX == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe005_tso.i
        line: 786
        column: 3
        function: main
      value: '! multithreaded || ((__unbuffered_p2_EBX == 0 || __unbuffered_p2_EBX
        == 1) || __unbuffered_p2_EBX == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe005_tso.i
        line: 783
        column: 3
        function: main
      value: '! multithreaded || 0 <= __unbuffered_cnt'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe005_tso.i
        line: 785
        column: 3
        function: main
      value: '! multithreaded || 0 <= __unbuffered_cnt'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe005_tso.i
        line: 786
        column: 3
        function: main
      value: '! multithreaded || 0 <= __unbuffered_cnt'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe005_tso.i
        line: 783
        column: 3
        function: main
      value: '! multithreaded || (x == 0 || x == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe005_tso.i
        line: 785
        column: 3
        function: main
      value: '! multithreaded || (x == 0 || x == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe005_tso.i
        line: 786
        column: 3
        function: main
      value: '! multithreaded || (x == 0 || x == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe005_tso.i
        line: 783
        column: 3
        function: main
      value: '! multithreaded || ((__unbuffered_p2_EAX == 0 || __unbuffered_p2_EAX
        == 1) || __unbuffered_p2_EAX == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe005_tso.i
        line: 785
        column: 3
        function: main
      value: '! multithreaded || ((__unbuffered_p2_EAX == 0 || __unbuffered_p2_EAX
        == 1) || __unbuffered_p2_EAX == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe005_tso.i
        line: 786
        column: 3
        function: main
      value: '! multithreaded || ((__unbuffered_p2_EAX == 0 || __unbuffered_p2_EAX
        == 1) || __unbuffered_p2_EAX == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe005_tso.i
        line: 783
        column: 3
        function: main
      value: '! multithreaded || (__unbuffered_p0_EAX == 0 || __unbuffered_p0_EAX
        == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe005_tso.i
        line: 785
        column: 3
        function: main
      value: '! multithreaded || (__unbuffered_p0_EAX == 0 || __unbuffered_p0_EAX
        == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe005_tso.i
        line: 786
        column: 3
        function: main
      value: '! multithreaded || (__unbuffered_p0_EAX == 0 || __unbuffered_p0_EAX
        == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe005_tso.i
        line: 783
        column: 3
        function: main
      value: '! multithreaded || ((y == 0 || y == 1) || y == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe005_tso.i
        line: 785
        column: 3
        function: main
      value: '! multithreaded || ((y == 0 || y == 1) || y == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe005_tso.i
        line: 786
        column: 3
        function: main
      value: '! multithreaded || ((y == 0 || y == 1) || y == 2)'
      format: c_expression
