- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.0"
    uuid: e9d754a9-1fba-4a1e-9183-3ed5a543bd18
    creation_time: 2025-05-28T12:16:30Z
    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_38-traces-ex-4-switch_true.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_38-traces-ex-4-switch_true.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_38-traces-ex-4-switch_true.i: 6459c3a3aa967b53ca30e3b9918903c0b3ea7a6b804c927bd1e7a9e96906dc40
      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_38-traces-ex-4-switch_true.i
        line: 702
        column: 3
        function: main
      updates:
      - variable: B_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_38-traces-ex-4-switch_true.i
        line: 701
        column: 3
        function: main
      updates:
      - variable: A_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_38-traces-ex-4-switch_true.i
        line: 699
        column: 3
        function: main
      updates:
      - variable: B_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_38-traces-ex-4-switch_true.i
        line: 698
        column: 3
        function: main
      updates:
      - variable: A_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_38-traces-ex-4-switch_true.i
        line: 697
        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_38-traces-ex-4-switch_true.i
        line: 692
        column: 3
        function: t_fun
      updates:
      - variable: B_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_38-traces-ex-4-switch_true.i
        line: 691
        column: 3
        function: t_fun
      updates:
      - variable: A_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_38-traces-ex-4-switch_true.i
        line: 689
        column: 3
        function: t_fun
      updates:
      - variable: A_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_38-traces-ex-4-switch_true.i
        line: 688
        column: 3
        function: t_fun
      updates:
      - variable: A_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_38-traces-ex-4-switch_true.i
        line: 686
        column: 3
        function: t_fun
      updates:
      - variable: A_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_38-traces-ex-4-switch_true.i
        line: 685
        column: 3
        function: t_fun
      updates:
      - variable: B_locked
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.0"
    uuid: c6925d40-738a-401a-8160-438c48d591fd
    creation_time: 2025-05-28T12:16:30Z
    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_38-traces-ex-4-switch_true.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_38-traces-ex-4-switch_true.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_38-traces-ex-4-switch_true.i: 6459c3a3aa967b53ca30e3b9918903c0b3ea7a6b804c927bd1e7a9e96906dc40
      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_38-traces-ex-4-switch_true.i
        line: 698
        column: 3
        function: main
      value: '! multithreaded || (g == 1 || g == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_38-traces-ex-4-switch_true.i
        line: 698
        column: 3
        function: main
      value: '! multithreaded || (B_locked || (A_locked || g == 2))'
      format: c_expression
