- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.0"
    uuid: ab6768cf-54e7-4993-8239-807f8a9afbb7
    creation_time: 2025-05-28T12:14:53Z
    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/goblint-regression/13-privatized_31-traces-mine-vs-mutex_true.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_31-traces-mine-vs-mutex_true.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_31-traces-mine-vs-mutex_true.i: 16b41d7352a3e7bca6c65d29839f35cd9a045339e5497acb7d0d6bf7ecef2ad7
      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_31-traces-mine-vs-mutex_true.i
        line: 704
        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_31-traces-mine-vs-mutex_true.i
        line: 703
        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_31-traces-mine-vs-mutex_true.i
        line: 701
        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_31-traces-mine-vs-mutex_true.i
        line: 700
        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_31-traces-mine-vs-mutex_true.i
        line: 699
        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_31-traces-mine-vs-mutex_true.i
        line: 698
        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_31-traces-mine-vs-mutex_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_31-traces-mine-vs-mutex_true.i
        line: 692
        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_31-traces-mine-vs-mutex_true.i
        line: 691
        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_31-traces-mine-vs-mutex_true.i
        line: 689
        column: 3
        function: t_fun
      updates:
      - variable: B_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_31-traces-mine-vs-mutex_true.i
        line: 688
        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_31-traces-mine-vs-mutex_true.i
        line: 686
        column: 3
        function: t_fun
      updates:
      - variable: B_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_31-traces-mine-vs-mutex_true.i
        line: 685
        column: 3
        function: t_fun
      updates:
      - variable: A_locked
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.0"
    uuid: 2e09b4b1-14d1-486e-8af6-b4a2791d7ed6
    creation_time: 2025-05-28T12:14:53Z
    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/goblint-regression/13-privatized_31-traces-mine-vs-mutex_true.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_31-traces-mine-vs-mutex_true.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_31-traces-mine-vs-mutex_true.i: 16b41d7352a3e7bca6c65d29839f35cd9a045339e5497acb7d0d6bf7ecef2ad7
      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_31-traces-mine-vs-mutex_true.i
        line: 698
        column: 3
        function: main
      value: '! multithreaded || 0 <= g'
      format: c_expression
