- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.1"
    uuid: 221f9c42-178e-4819-b69e-bc2f105704bf
    creation_time: 2024-09-27T13:43:39Z
    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-wmm/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
      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/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 789
        column: 3
        function: main
      updates:
      - variable: multithreaded
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.1"
    uuid: 9960bb2d-0e4b-4978-a214-b9d2616c4920
    creation_time: 2024-09-27T13:43:39Z
    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-wmm/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
      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/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 791
        column: 3
        function: main
      value: '! multithreaded || ((__unbuffered_p0_EAX == 0 || __unbuffered_p0_EAX
        == 1) || __unbuffered_p0_EAX == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 793
        column: 3
        function: main
      value: '! multithreaded || ((__unbuffered_p0_EAX == 0 || __unbuffered_p0_EAX
        == 1) || __unbuffered_p0_EAX == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 795
        column: 3
        function: main
      value: '! multithreaded || ((__unbuffered_p0_EAX == 0 || __unbuffered_p0_EAX
        == 1) || __unbuffered_p0_EAX == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 796
        column: 3
        function: main
      value: '! multithreaded || ((__unbuffered_p0_EAX == 0 || __unbuffered_p0_EAX
        == 1) || __unbuffered_p0_EAX == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 791
        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/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 793
        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/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 795
        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/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 796
        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/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 791
        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/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 793
        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/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 795
        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/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 796
        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/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 791
        column: 3
        function: main
      value: '! multithreaded || (__unbuffered_p0_EBX == 0 || __unbuffered_p0_EBX
        == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 793
        column: 3
        function: main
      value: '! multithreaded || (__unbuffered_p0_EBX == 0 || __unbuffered_p0_EBX
        == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 795
        column: 3
        function: main
      value: '! multithreaded || (__unbuffered_p0_EBX == 0 || __unbuffered_p0_EBX
        == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 796
        column: 3
        function: main
      value: '! multithreaded || (__unbuffered_p0_EBX == 0 || __unbuffered_p0_EBX
        == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 791
        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/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 793
        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/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 795
        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/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 796
        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/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 791
        column: 3
        function: main
      value: '! multithreaded || ((0LL - (long long )__unbuffered_p0_EBX) + (long
        long )x >= 0LL && (0LL - (long long )__unbuffered_p2_EAX) + (long long )x
        >= 0LL)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 793
        column: 3
        function: main
      value: '! multithreaded || ((0LL - (long long )__unbuffered_p0_EBX) + (long
        long )x >= 0LL && (0LL - (long long )__unbuffered_p2_EAX) + (long long )x
        >= 0LL)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 795
        column: 3
        function: main
      value: '! multithreaded || ((0LL - (long long )__unbuffered_p0_EBX) + (long
        long )x >= 0LL && (0LL - (long long )__unbuffered_p2_EAX) + (long long )x
        >= 0LL)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 796
        column: 3
        function: main
      value: '! multithreaded || ((0LL - (long long )__unbuffered_p0_EBX) + (long
        long )x >= 0LL && (0LL - (long long )__unbuffered_p2_EAX) + (long long )x
        >= 0LL)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 791
        column: 3
        function: main
      value: '! multithreaded || (__unbuffered_p2_EAX == 0 || __unbuffered_p2_EAX
        == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 793
        column: 3
        function: main
      value: '! multithreaded || (__unbuffered_p2_EAX == 0 || __unbuffered_p2_EAX
        == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 795
        column: 3
        function: main
      value: '! multithreaded || (__unbuffered_p2_EAX == 0 || __unbuffered_p2_EAX
        == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 796
        column: 3
        function: main
      value: '! multithreaded || (__unbuffered_p2_EAX == 0 || __unbuffered_p2_EAX
        == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-wmm/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 791
        column: 3
        function: main
      value: '! multithreaded || (((((0 <= __unbuffered_cnt && (__unbuffered_p0_EBX
        == 0 || __unbuffered_p0_EBX == 1)) && (__unbuffered_p2_EAX == 0 || __unbuffered_p2_EAX
        == 1)) && (x == 0 || x == 1)) && ((__unbuffered_p0_EAX == 0 || __unbuffered_p0_EAX
        == 1) || __unbuffered_p0_EAX == 2)) && ((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/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 793
        column: 3
        function: main
      value: '! multithreaded || (((((0 <= __unbuffered_cnt && (__unbuffered_p0_EBX
        == 0 || __unbuffered_p0_EBX == 1)) && (__unbuffered_p2_EAX == 0 || __unbuffered_p2_EAX
        == 1)) && (x == 0 || x == 1)) && ((__unbuffered_p0_EAX == 0 || __unbuffered_p0_EAX
        == 1) || __unbuffered_p0_EAX == 2)) && ((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/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 795
        column: 3
        function: main
      value: '! multithreaded || (((((0 <= __unbuffered_cnt && (__unbuffered_p0_EBX
        == 0 || __unbuffered_p0_EBX == 1)) && (__unbuffered_p2_EAX == 0 || __unbuffered_p2_EAX
        == 1)) && (x == 0 || x == 1)) && ((__unbuffered_p0_EAX == 0 || __unbuffered_p0_EAX
        == 1) || __unbuffered_p0_EAX == 2)) && ((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/safe019_pso.oepc_pso.opt_tso.oepc_tso.opt.i
        file_hash: 4633300b13c3e317f8d3cd1cc05f3f76ba271ffedabaa8599cd9617354fa2b7b
        line: 796
        column: 3
        function: main
      value: '! multithreaded || (((((0 <= __unbuffered_cnt && (__unbuffered_p0_EBX
        == 0 || __unbuffered_p0_EBX == 1)) && (__unbuffered_p2_EAX == 0 || __unbuffered_p2_EAX
        == 1)) && (x == 0 || x == 1)) && ((__unbuffered_p0_EAX == 0 || __unbuffered_p0_EAX
        == 1) || __unbuffered_p0_EAX == 2)) && ((y == 0 || y == 1) || y == 2))'
      format: c_expression
