- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.1"
    uuid: 5d7ae480-2f6d-4676-b705-01464cbf5936
    creation_time: 2024-09-27T12:03:35Z
    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-atomic/read_write_lock-1-pthread.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/read_write_lock-1-pthread.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/read_write_lock-1-pthread.i: 04a1d4ff1109dce80fd92bb8b947109ce8379b8f1a452f4ba67af1891a651644
      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: rwlock_locked
      scope: global
      type: int
      initial:
        value: "0"
        format: c_expression
    ghost_updates:
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/read_write_lock-1-pthread.i
        file_hash: 04a1d4ff1109dce80fd92bb8b947109ce8379b8f1a452f4ba67af1891a651644
        line: 716
        column: 3
        function: main
      updates:
      - variable: multithreaded
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/read_write_lock-1-pthread.i
        file_hash: 04a1d4ff1109dce80fd92bb8b947109ce8379b8f1a452f4ba67af1891a651644
        line: 711
        column: 3
        function: reader
      updates:
      - variable: rwlock_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/read_write_lock-1-pthread.i
        file_hash: 04a1d4ff1109dce80fd92bb8b947109ce8379b8f1a452f4ba67af1891a651644
        line: 697
        column: 3
        function: reader
      updates:
      - variable: rwlock_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/read_write_lock-1-pthread.i
        file_hash: 04a1d4ff1109dce80fd92bb8b947109ce8379b8f1a452f4ba67af1891a651644
        line: 692
        column: 3
        function: writer
      updates:
      - variable: rwlock_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/read_write_lock-1-pthread.i
        file_hash: 04a1d4ff1109dce80fd92bb8b947109ce8379b8f1a452f4ba67af1891a651644
        line: 690
        column: 3
        function: writer
      updates:
      - variable: rwlock_locked
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.1"
    uuid: d98159e8-d749-4ef9-a7f4-ce6ff8eb7d54
    creation_time: 2024-09-27T12:03:35Z
    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-atomic/read_write_lock-1-pthread.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/read_write_lock-1-pthread.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/read_write_lock-1-pthread.i: 04a1d4ff1109dce80fd92bb8b947109ce8379b8f1a452f4ba67af1891a651644
      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/pthread-atomic/read_write_lock-1-pthread.i
        file_hash: 04a1d4ff1109dce80fd92bb8b947109ce8379b8f1a452f4ba67af1891a651644
        line: 717
        column: 3
        function: main
      value: '! multithreaded || (x == 0 || x == 3)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/read_write_lock-1-pthread.i
        file_hash: 04a1d4ff1109dce80fd92bb8b947109ce8379b8f1a452f4ba67af1891a651644
        line: 718
        column: 3
        function: main
      value: '! multithreaded || (x == 0 || x == 3)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/read_write_lock-1-pthread.i
        file_hash: 04a1d4ff1109dce80fd92bb8b947109ce8379b8f1a452f4ba67af1891a651644
        line: 719
        column: 3
        function: main
      value: '! multithreaded || (x == 0 || x == 3)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/read_write_lock-1-pthread.i
        file_hash: 04a1d4ff1109dce80fd92bb8b947109ce8379b8f1a452f4ba67af1891a651644
        line: 720
        column: 3
        function: main
      value: '! multithreaded || (x == 0 || x == 3)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/read_write_lock-1-pthread.i
        file_hash: 04a1d4ff1109dce80fd92bb8b947109ce8379b8f1a452f4ba67af1891a651644
        line: 717
        column: 3
        function: main
      value: '! multithreaded || (y == 0 || y == 3)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/read_write_lock-1-pthread.i
        file_hash: 04a1d4ff1109dce80fd92bb8b947109ce8379b8f1a452f4ba67af1891a651644
        line: 718
        column: 3
        function: main
      value: '! multithreaded || (y == 0 || y == 3)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/read_write_lock-1-pthread.i
        file_hash: 04a1d4ff1109dce80fd92bb8b947109ce8379b8f1a452f4ba67af1891a651644
        line: 719
        column: 3
        function: main
      value: '! multithreaded || (y == 0 || y == 3)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-atomic/read_write_lock-1-pthread.i
        file_hash: 04a1d4ff1109dce80fd92bb8b947109ce8379b8f1a452f4ba67af1891a651644
        line: 720
        column: 3
        function: main
      value: '! multithreaded || (y == 0 || y == 3)'
      format: c_expression
