- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.1"
    uuid: c28995c3-e71e-4e1f-92c7-2b0305230278
    creation_time: 2024-09-27T12:05:03Z
    producer:
      name: Goblint
      version: heads/yaml-witness-ghost-0-g852297b68-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/pthread-ext/31_simple_loop5_vs-pthread.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
      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: mutex_locked
      scope: global
      type: int
      initial:
        value: "0"
        format: c_expression
    ghost_updates:
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 714
        column: 3
        function: main
      updates:
      - variable: multithreaded
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 708
        column: 5
        function: thr1
      updates:
      - variable: mutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 706
        column: 5
        function: thr1
      updates:
      - variable: mutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 708
        column: 5
        function: thr1
      updates:
      - variable: mutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 706
        column: 5
        function: thr1
      updates:
      - variable: mutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 708
        column: 5
        function: thr1
      updates:
      - variable: mutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 706
        column: 5
        function: thr1
      updates:
      - variable: mutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 708
        column: 5
        function: thr1
      updates:
      - variable: mutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 706
        column: 5
        function: thr1
      updates:
      - variable: mutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 708
        column: 5
        function: thr1
      updates:
      - variable: mutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 706
        column: 5
        function: thr1
      updates:
      - variable: mutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 708
        column: 5
        function: thr1
      updates:
      - variable: mutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 706
        column: 5
        function: thr1
      updates:
      - variable: mutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 708
        column: 5
        function: thr1
      updates:
      - variable: mutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 706
        column: 5
        function: thr1
      updates:
      - variable: mutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 708
        column: 5
        function: thr1
      updates:
      - variable: mutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 706
        column: 5
        function: thr1
      updates:
      - variable: mutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 708
        column: 5
        function: thr1
      updates:
      - variable: mutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 706
        column: 5
        function: thr1
      updates:
      - variable: mutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 708
        column: 5
        function: thr1
      updates:
      - variable: mutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 706
        column: 5
        function: thr1
      updates:
      - variable: mutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 708
        column: 5
        function: thr1
      updates:
      - variable: mutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 706
        column: 5
        function: thr1
      updates:
      - variable: mutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 708
        column: 5
        function: thr1
      updates:
      - variable: mutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 706
        column: 5
        function: thr1
      updates:
      - variable: mutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 708
        column: 5
        function: thr1
      updates:
      - variable: mutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 706
        column: 5
        function: thr1
      updates:
      - variable: mutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 698
        column: 5
        function: thr2
      updates:
      - variable: mutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 693
        column: 5
        function: thr2
      updates:
      - variable: mutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 698
        column: 5
        function: thr2
      updates:
      - variable: mutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 693
        column: 5
        function: thr2
      updates:
      - variable: mutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 698
        column: 5
        function: thr2
      updates:
      - variable: mutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 693
        column: 5
        function: thr2
      updates:
      - variable: mutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 698
        column: 5
        function: thr2
      updates:
      - variable: mutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 693
        column: 5
        function: thr2
      updates:
      - variable: mutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 698
        column: 5
        function: thr2
      updates:
      - variable: mutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 693
        column: 5
        function: thr2
      updates:
      - variable: mutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 698
        column: 5
        function: thr2
      updates:
      - variable: mutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 693
        column: 5
        function: thr2
      updates:
      - variable: mutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 698
        column: 5
        function: thr2
      updates:
      - variable: mutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 693
        column: 5
        function: thr2
      updates:
      - variable: mutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 698
        column: 5
        function: thr2
      updates:
      - variable: mutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 693
        column: 5
        function: thr2
      updates:
      - variable: mutex_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 698
        column: 5
        function: thr2
      updates:
      - variable: mutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
        file_hash: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
        line: 693
        column: 5
        function: thr2
      updates:
      - variable: mutex_locked
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.1"
    uuid: a650fb90-2b36-4236-bcc2-b56f3948581d
    creation_time: 2024-09-27T12:05:03Z
    producer:
      name: Goblint
      version: heads/yaml-witness-ghost-0-g852297b68-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/pthread-ext/31_simple_loop5_vs-pthread.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/31_simple_loop5_vs-pthread.i: 389f5b7d6579b5ac06564f3c82f3f69fea502868b761df6187d49f96e1a317cd
      data_model: ILP32
      language: C
      specification: CHECK( init(main()), LTL(G ! call(reach_error())) )
  content: []
