- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.1"
    uuid: fcadc7ea-d430-4a27-b0db-7c8378efe4cc
    creation_time: 2024-09-27T12:24:04Z
    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/stateful01-1.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stateful01-1.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stateful01-1.i: 4f746010868b331b940ee2293ff3d78b9aa516b26fde95d84f76493b23741d03
      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: ma_locked
      scope: global
      type: int
      initial:
        value: "0"
        format: c_expression
    ghost_updates:
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stateful01-1.i
        file_hash: 4f746010868b331b940ee2293ff3d78b9aa516b26fde95d84f76493b23741d03
        line: 721
        column: 3
        function: main
      updates:
      - variable: multithreaded
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stateful01-1.i
        file_hash: 4f746010868b331b940ee2293ff3d78b9aa516b26fde95d84f76493b23741d03
        line: 711
        column: 3
        function: thread2
      updates:
      - variable: ma_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stateful01-1.i
        file_hash: 4f746010868b331b940ee2293ff3d78b9aa516b26fde95d84f76493b23741d03
        line: 709
        column: 3
        function: thread2
      updates:
      - variable: ma_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stateful01-1.i
        file_hash: 4f746010868b331b940ee2293ff3d78b9aa516b26fde95d84f76493b23741d03
        line: 708
        column: 3
        function: thread2
      updates:
      - variable: ma_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stateful01-1.i
        file_hash: 4f746010868b331b940ee2293ff3d78b9aa516b26fde95d84f76493b23741d03
        line: 706
        column: 3
        function: thread2
      updates:
      - variable: ma_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stateful01-1.i
        file_hash: 4f746010868b331b940ee2293ff3d78b9aa516b26fde95d84f76493b23741d03
        line: 701
        column: 3
        function: thread1
      updates:
      - variable: ma_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stateful01-1.i
        file_hash: 4f746010868b331b940ee2293ff3d78b9aa516b26fde95d84f76493b23741d03
        line: 699
        column: 3
        function: thread1
      updates:
      - variable: ma_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stateful01-1.i
        file_hash: 4f746010868b331b940ee2293ff3d78b9aa516b26fde95d84f76493b23741d03
        line: 698
        column: 3
        function: thread1
      updates:
      - variable: ma_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stateful01-1.i
        file_hash: 4f746010868b331b940ee2293ff3d78b9aa516b26fde95d84f76493b23741d03
        line: 696
        column: 3
        function: thread1
      updates:
      - variable: ma_locked
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.1"
    uuid: e2aded27-5202-4f62-9f7e-0436d801d2f7
    creation_time: 2024-09-27T12:24:04Z
    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/stateful01-1.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stateful01-1.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stateful01-1.i: 4f746010868b331b940ee2293ff3d78b9aa516b26fde95d84f76493b23741d03
      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/stateful01-1.i
        file_hash: 4f746010868b331b940ee2293ff3d78b9aa516b26fde95d84f76493b23741d03
        line: 722
        column: 3
        function: main
      value: '! multithreaded || 10 <= data1'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stateful01-1.i
        file_hash: 4f746010868b331b940ee2293ff3d78b9aa516b26fde95d84f76493b23741d03
        line: 723
        column: 3
        function: main
      value: '! multithreaded || 10 <= data1'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stateful01-1.i
        file_hash: 4f746010868b331b940ee2293ff3d78b9aa516b26fde95d84f76493b23741d03
        line: 722
        column: 3
        function: main
      value: '! multithreaded || (ma_locked || 5 <= data1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread/stateful01-1.i
        file_hash: 4f746010868b331b940ee2293ff3d78b9aa516b26fde95d84f76493b23741d03
        line: 723
        column: 3
        function: main
      value: '! multithreaded || (ma_locked || 5 <= data1)'
      format: c_expression
