- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.0"
    uuid: ca1d3c78-b0a6-40fe-967d-2fc8bdd83541
    creation_time: 2025-05-28T12:16:34Z
    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/28-race_reach_51-mutexptr_racefree.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/28-race_reach_51-mutexptr_racefree.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/28-race_reach_51-mutexptr_racefree.i: f222d5749b9bb10b4d4c09b2c40e45ee19dec77732a8593ce917652e8ca8a43e
      data_model: ILP32
      language: C
      specification: CHECK( init(main()), LTL(G ! call(reach_error())) )
  content:
    ghost_variables:
    - name: __global_lock_locked
      scope: global
      type: int
      initial:
        value: "0"
        format: c_expression
    - 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/28-race_reach_51-mutexptr_racefree.i
        line: 717
        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/28-race_reach_51-mutexptr_racefree.i
        line: 716
        column: 78
        function: main
      updates:
      - variable: __global_lock_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/28-race_reach_51-mutexptr_racefree.i
        line: 716
        column: 8
        function: main
      updates:
      - variable: __global_lock_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/28-race_reach_51-mutexptr_racefree.i
        line: 715
        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/28-race_reach_51-mutexptr_racefree.i
        line: 713
        column: 55
        function: main
      updates:
      - variable: multithreaded
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/28-race_reach_51-mutexptr_racefree.i
        line: 707
        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/28-race_reach_51-mutexptr_racefree.i
        line: 706
        column: 165
        function: t_fun
      updates:
      - variable: __global_lock_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/28-race_reach_51-mutexptr_racefree.i
        line: 706
        column: 117
        function: t_fun
      updates:
      - variable: __global_lock_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/28-race_reach_51-mutexptr_racefree.i
        line: 706
        column: 61
        function: t_fun
      updates:
      - variable: __global_lock_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/28-race_reach_51-mutexptr_racefree.i
        line: 706
        column: 13
        function: t_fun
      updates:
      - variable: __global_lock_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/28-race_reach_51-mutexptr_racefree.i
        line: 705
        column: 3
        function: t_fun
      updates:
      - variable: mutex1_locked
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.0"
    uuid: 3200a922-f477-461a-a74d-22a37c5a4b54
    creation_time: 2025-05-28T12:16:34Z
    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/28-race_reach_51-mutexptr_racefree.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/28-race_reach_51-mutexptr_racefree.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/28-race_reach_51-mutexptr_racefree.i: f222d5749b9bb10b4d4c09b2c40e45ee19dec77732a8593ce917652e8ca8a43e
      data_model: ILP32
      language: C
      specification: CHECK( init(main()), LTL(G ! call(reach_error())) )
  content: []
