- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.1"
    uuid: c2669950-932a-4e79-abfd-059cdf2a32d6
    creation_time: 2024-09-27T13:59:09Z
    producer:
      name: Goblint
      version: heads/yaml-witness-ghost-0-g852297b68-dirty
      command_line: '''./goblint'' ''--conf'' ''conf/svcomp-ghost.json'' ''--set''
        ''ana.base.privatization'' ''mutex-meet'' ''--set'' ''ana.activated[+]'' ''apron''
        ''--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_29-multiple-protecting2-vesal_true.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_29-multiple-protecting2-vesal_true.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_29-multiple-protecting2-vesal_true.i: a900e47bcb0579a731ecfed3c71b01054e5f0917c7f65049265d17494d326436
      data_model: ILP32
      language: C
      specification: CHECK( init(main()), LTL(G ! call(reach_error())) )
  content:
    ghost_variables:
    - name: mutex1_locked
      scope: global
      type: int
      initial:
        value: "0"
        format: c_expression
    - name: multithreaded
      scope: global
      type: int
      initial:
        value: "0"
        format: c_expression
    - name: __global_lock_locked
      scope: global
      type: int
      initial:
        value: "0"
        format: c_expression
    - name: mutex2_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_29-multiple-protecting2-vesal_true.i
        file_hash: a900e47bcb0579a731ecfed3c71b01054e5f0917c7f65049265d17494d326436
        line: 709
        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_29-multiple-protecting2-vesal_true.i
        file_hash: a900e47bcb0579a731ecfed3c71b01054e5f0917c7f65049265d17494d326436
        line: 708
        column: 3
        function: main
      updates:
      - variable: mutex2_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_29-multiple-protecting2-vesal_true.i
        file_hash: a900e47bcb0579a731ecfed3c71b01054e5f0917c7f65049265d17494d326436
        line: 707
        column: 3
        function: main
      updates:
      - variable: __global_lock_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_29-multiple-protecting2-vesal_true.i
        file_hash: a900e47bcb0579a731ecfed3c71b01054e5f0917c7f65049265d17494d326436
        line: 705
        column: 3
        function: main
      updates:
      - variable: __global_lock_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_29-multiple-protecting2-vesal_true.i
        file_hash: a900e47bcb0579a731ecfed3c71b01054e5f0917c7f65049265d17494d326436
        line: 704
        column: 3
        function: main
      updates:
      - variable: mutex2_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_29-multiple-protecting2-vesal_true.i
        file_hash: a900e47bcb0579a731ecfed3c71b01054e5f0917c7f65049265d17494d326436
        line: 703
        column: 3
        function: main
      updates:
      - variable: __global_lock_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_29-multiple-protecting2-vesal_true.i
        file_hash: a900e47bcb0579a731ecfed3c71b01054e5f0917c7f65049265d17494d326436
        line: 700
        column: 3
        function: main
      updates:
      - variable: __global_lock_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_29-multiple-protecting2-vesal_true.i
        file_hash: a900e47bcb0579a731ecfed3c71b01054e5f0917c7f65049265d17494d326436
        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_29-multiple-protecting2-vesal_true.i
        file_hash: a900e47bcb0579a731ecfed3c71b01054e5f0917c7f65049265d17494d326436
        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_29-multiple-protecting2-vesal_true.i
        file_hash: a900e47bcb0579a731ecfed3c71b01054e5f0917c7f65049265d17494d326436
        line: 693
        column: 3
        function: t2_fun
      updates:
      - variable: mutex2_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_29-multiple-protecting2-vesal_true.i
        file_hash: a900e47bcb0579a731ecfed3c71b01054e5f0917c7f65049265d17494d326436
        line: 692
        column: 3
        function: t2_fun
      updates:
      - variable: __global_lock_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_29-multiple-protecting2-vesal_true.i
        file_hash: a900e47bcb0579a731ecfed3c71b01054e5f0917c7f65049265d17494d326436
        line: 690
        column: 3
        function: t2_fun
      updates:
      - variable: __global_lock_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_29-multiple-protecting2-vesal_true.i
        file_hash: a900e47bcb0579a731ecfed3c71b01054e5f0917c7f65049265d17494d326436
        line: 689
        column: 3
        function: t2_fun
      updates:
      - variable: __global_lock_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_29-multiple-protecting2-vesal_true.i
        file_hash: a900e47bcb0579a731ecfed3c71b01054e5f0917c7f65049265d17494d326436
        line: 687
        column: 3
        function: t2_fun
      updates:
      - variable: __global_lock_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_29-multiple-protecting2-vesal_true.i
        file_hash: a900e47bcb0579a731ecfed3c71b01054e5f0917c7f65049265d17494d326436
        line: 686
        column: 3
        function: t2_fun
      updates:
      - variable: mutex2_locked
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.1"
    uuid: 7fb8f8b4-ef71-4b5d-a2c8-dcef5a13cfa7
    creation_time: 2024-09-27T13:59:09Z
    producer:
      name: Goblint
      version: heads/yaml-witness-ghost-0-g852297b68-dirty
      command_line: '''./goblint'' ''--conf'' ''conf/svcomp-ghost.json'' ''--set''
        ''ana.base.privatization'' ''mutex-meet'' ''--set'' ''ana.activated[+]'' ''apron''
        ''--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_29-multiple-protecting2-vesal_true.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_29-multiple-protecting2-vesal_true.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_29-multiple-protecting2-vesal_true.i: a900e47bcb0579a731ecfed3c71b01054e5f0917c7f65049265d17494d326436
      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_29-multiple-protecting2-vesal_true.i
        file_hash: a900e47bcb0579a731ecfed3c71b01054e5f0917c7f65049265d17494d326436
        line: 699
        column: 3
        function: main
      value: '! multithreaded || (g2 == 0 || g2 == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_29-multiple-protecting2-vesal_true.i
        file_hash: a900e47bcb0579a731ecfed3c71b01054e5f0917c7f65049265d17494d326436
        line: 699
        column: 3
        function: main
      value: '! multithreaded || (__global_lock_locked || (g2 == 0 || g2 == 1))'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_29-multiple-protecting2-vesal_true.i
        file_hash: a900e47bcb0579a731ecfed3c71b01054e5f0917c7f65049265d17494d326436
        line: 699
        column: 3
        function: main
      value: '! multithreaded || (mutex2_locked || g2 == 0)'
      format: c_expression
