- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.0"
    uuid: 136bbc2b-3dcc-4f0d-843e-08ce164764b5
    creation_time: 2025-05-28T12:16:31Z
    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/goblint-regression/13-privatized_52-refine-protected-loop2-small_true.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_52-refine-protected-loop2-small_true.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_52-refine-protected-loop2-small_true.i: 8627cbce136f39d723fc0eaadf7d8371bf261a07ec5ac59da2e79df34069083d
      data_model: ILP32
      language: C
      specification: CHECK( init(main()), LTL(G ! call(reach_error())) )
  content:
    ghost_variables:
    - name: A_locked
      scope: global
      type: int
      initial:
        value: "0"
        format: c_expression
    - name: B_locked
      scope: global
      type: int
      initial:
        value: "0"
        format: c_expression
    - name: multithreaded
      scope: global
      type: int
      initial:
        value: "0"
        format: c_expression
    ghost_updates:
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_52-refine-protected-loop2-small_true.i
        line: 702
        column: 3
        function: main
      updates:
      - variable: multithreaded
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_52-refine-protected-loop2-small_true.i
        line: 695
        column: 5
        function: worker
      updates:
      - variable: B_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_52-refine-protected-loop2-small_true.i
        line: 694
        column: 5
        function: worker
      updates:
      - variable: B_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_52-refine-protected-loop2-small_true.i
        line: 693
        column: 5
        function: worker
      updates:
      - variable: A_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_52-refine-protected-loop2-small_true.i
        line: 687
        column: 5
        function: worker
      updates:
      - variable: A_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_52-refine-protected-loop2-small_true.i
        line: 695
        column: 5
        function: worker
      updates:
      - variable: B_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_52-refine-protected-loop2-small_true.i
        line: 694
        column: 5
        function: worker
      updates:
      - variable: B_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_52-refine-protected-loop2-small_true.i
        line: 693
        column: 5
        function: worker
      updates:
      - variable: A_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_52-refine-protected-loop2-small_true.i
        line: 687
        column: 5
        function: worker
      updates:
      - variable: A_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_52-refine-protected-loop2-small_true.i
        line: 695
        column: 5
        function: worker
      updates:
      - variable: B_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_52-refine-protected-loop2-small_true.i
        line: 694
        column: 5
        function: worker
      updates:
      - variable: B_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_52-refine-protected-loop2-small_true.i
        line: 693
        column: 5
        function: worker
      updates:
      - variable: A_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_52-refine-protected-loop2-small_true.i
        line: 687
        column: 5
        function: worker
      updates:
      - variable: A_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_52-refine-protected-loop2-small_true.i
        line: 695
        column: 5
        function: worker
      updates:
      - variable: B_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_52-refine-protected-loop2-small_true.i
        line: 694
        column: 5
        function: worker
      updates:
      - variable: B_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_52-refine-protected-loop2-small_true.i
        line: 693
        column: 5
        function: worker
      updates:
      - variable: A_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_52-refine-protected-loop2-small_true.i
        line: 687
        column: 5
        function: worker
      updates:
      - variable: A_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_52-refine-protected-loop2-small_true.i
        line: 695
        column: 5
        function: worker
      updates:
      - variable: B_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_52-refine-protected-loop2-small_true.i
        line: 694
        column: 5
        function: worker
      updates:
      - variable: B_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_52-refine-protected-loop2-small_true.i
        line: 693
        column: 5
        function: worker
      updates:
      - variable: A_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_52-refine-protected-loop2-small_true.i
        line: 687
        column: 5
        function: worker
      updates:
      - variable: A_locked
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.0"
    uuid: 9cdb5fcf-f28d-4f1f-a706-803769e14e83
    creation_time: 2025-05-28T12:16:31Z
    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/goblint-regression/13-privatized_52-refine-protected-loop2-small_true.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_52-refine-protected-loop2-small_true.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_52-refine-protected-loop2-small_true.i: 8627cbce136f39d723fc0eaadf7d8371bf261a07ec5ac59da2e79df34069083d
      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/goblint-regression/13-privatized_52-refine-protected-loop2-small_true.i
        line: 703
        column: 3
        function: main
      value: '! multithreaded || ((g == 0 || g == 999) || g == 1000)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_52-refine-protected-loop2-small_true.i
        line: 703
        column: 3
        function: main
      value: '! multithreaded || (A_locked || (g == 0 || g == 999))'
      format: c_expression
