- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.1"
    uuid: 472b01f5-da43-4d7c-a984-7104ec08fe9f
    creation_time: 2024-09-27T12:39:38Z
    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/pthread-ext/25_stack-pthread.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/25_stack-pthread.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/25_stack-pthread.i: 6ceb3f3e6275485c63fced12b91c17e53ff4ff51a32d000ec6d2fb8f40929150
      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: m2_locked
      scope: global
      type: int
      initial:
        value: "0"
        format: c_expression
    - name: m_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/25_stack-pthread.i
        file_hash: 6ceb3f3e6275485c63fced12b91c17e53ff4ff51a32d000ec6d2fb8f40929150
        line: 766
        column: 13
        function: main
      updates:
      - variable: multithreaded
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/25_stack-pthread.i
        file_hash: 6ceb3f3e6275485c63fced12b91c17e53ff4ff51a32d000ec6d2fb8f40929150
        line: 757
        column: 3
        function: thr1
      updates:
      - variable: m2_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/25_stack-pthread.i
        file_hash: 6ceb3f3e6275485c63fced12b91c17e53ff4ff51a32d000ec6d2fb8f40929150
        line: 750
        column: 2
        function: thr1
      updates:
      - variable: m2_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/25_stack-pthread.i
        file_hash: 6ceb3f3e6275485c63fced12b91c17e53ff4ff51a32d000ec6d2fb8f40929150
        line: 727
        column: 3
        function: push
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/25_stack-pthread.i
        file_hash: 6ceb3f3e6275485c63fced12b91c17e53ff4ff51a32d000ec6d2fb8f40929150
        line: 721
        column: 3
        function: push
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/25_stack-pthread.i
        file_hash: 6ceb3f3e6275485c63fced12b91c17e53ff4ff51a32d000ec6d2fb8f40929150
        line: 701
        column: 3
        function: index_malloc
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/25_stack-pthread.i
        file_hash: 6ceb3f3e6275485c63fced12b91c17e53ff4ff51a32d000ec6d2fb8f40929150
        line: 696
        column: 3
        function: index_malloc
      updates:
      - variable: m_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/25_stack-pthread.i
        file_hash: 6ceb3f3e6275485c63fced12b91c17e53ff4ff51a32d000ec6d2fb8f40929150
        line: 694
        column: 2
        function: index_malloc
      updates:
      - variable: m_locked
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.1"
    uuid: 69c8f76f-f049-4786-b1b5-c8906d999fc2
    creation_time: 2024-09-27T12:39:38Z
    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/pthread-ext/25_stack-pthread.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/25_stack-pthread.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-ext/25_stack-pthread.i: 6ceb3f3e6275485c63fced12b91c17e53ff4ff51a32d000ec6d2fb8f40929150
      data_model: ILP32
      language: C
      specification: CHECK( init(main()), LTL(G ! call(reach_error())) )
  content: []
