- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.0"
    uuid: 76834ba4-78dd-429a-87b5-4be9117b9a3b
    creation_time: 2025-05-28T12:14:30Z
    producer:
      name: Goblint
      version: heads/master-0-gb8fb60e5d-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-atomic/peterson.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i: 6ea11bc1281710e3131473f2a673d7d78c2a42824b03a7d695132107cc74f895
      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-atomic/peterson.i
        line: 754
        column: 3
        function: main
      updates:
      - variable: multithreaded
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.0"
    uuid: 21eb1438-8825-4c42-9611-b3431120a178
    creation_time: 2025-05-28T12:14:30Z
    producer:
      name: Goblint
      version: heads/master-0-gb8fb60e5d-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-atomic/peterson.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i: 6ea11bc1281710e3131473f2a673d7d78c2a42824b03a7d695132107cc74f895
      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-atomic/peterson.i
        line: 755
        column: 3
        function: main
      value: '! multithreaded || ((int )flag1 == 0 || (int )flag1 == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        line: 756
        column: 3
        function: main
      value: '! multithreaded || ((int )flag1 == 0 || (int )flag1 == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        line: 755
        column: 3
        function: main
      value: '! multithreaded || ((int )flag2 == 0 || (int )flag2 == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        line: 756
        column: 3
        function: main
      value: '! multithreaded || ((int )flag2 == 0 || (int )flag2 == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        line: 755
        column: 3
        function: main
      value: '! multithreaded || ((int )turn == 0 || (int )turn == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        line: 756
        column: 3
        function: main
      value: '! multithreaded || ((int )turn == 0 || (int )turn == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/peterson.i
        line: 755
        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-atomic/peterson.i
        line: 756
        column: 3
        function: main
      value: '! multithreaded || (x == 0 || x == 1)'
      format: c_expression
