- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.0"
    uuid: 293df12a-cf97-4c66-8702-f38222c6d882
    creation_time: 2025-05-28T12:16:29Z
    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_18-first-reads_unknown_1_pos.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_18-first-reads_unknown_1_pos.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_18-first-reads_unknown_1_pos.i: a91542c733a27a18dff97acca49ae580b7929842603ed8a2c1cdbb309e164d67
      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
    - name: mutex1_locked
      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_18-first-reads_unknown_1_pos.i
        line: 700
        column: 3
        function: main
      updates:
      - variable: mutex1_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_18-first-reads_unknown_1_pos.i
        line: 699
        column: 3
        function: main
      updates:
      - variable: mutex1_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_18-first-reads_unknown_1_pos.i
        line: 698
        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_18-first-reads_unknown_1_pos.i
        line: 693
        column: 3
        function: t_fun
      updates:
      - variable: mutex1_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_18-first-reads_unknown_1_pos.i
        line: 686
        column: 3
        function: t_fun
      updates:
      - variable: mutex1_locked
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.0"
    uuid: f809ad57-72af-4dae-8459-1d7bbc5d49bc
    creation_time: 2025-05-28T12:16:29Z
    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_18-first-reads_unknown_1_pos.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_18-first-reads_unknown_1_pos.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_18-first-reads_unknown_1_pos.i: a91542c733a27a18dff97acca49ae580b7929842603ed8a2c1cdbb309e164d67
      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_18-first-reads_unknown_1_pos.i
        line: 699
        column: 3
        function: main
      value: '! multithreaded || (glob1 == 0 || glob1 == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_18-first-reads_unknown_1_pos.i
        line: 699
        column: 3
        function: main
      value: '! multithreaded || (mutex1_locked || glob1 == 0)'
      format: c_expression
