- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.1"
    uuid: 455c4ac6-89d7-4f52-bd9e-56a7313f2a1c
    creation_time: 2024-09-27T13:59:00Z
    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-C-DAC/pthread-finding-k-matches.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-finding-k-matches.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-finding-k-matches.i: 23b7e77d93c189e6cf0c800b98695aaeb3cd6c5d5cdcba8cc401c4aa43960d01
      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: count_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-C-DAC/pthread-finding-k-matches.i
        file_hash: 23b7e77d93c189e6cf0c800b98695aaeb3cd6c5d5cdcba8cc401c4aa43960d01
        line: 1381
        column: 9
        function: main
      updates:
      - variable: multithreaded
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-finding-k-matches.i
        file_hash: 23b7e77d93c189e6cf0c800b98695aaeb3cd6c5d5cdcba8cc401c4aa43960d01
        line: 1338
        column: 5
        function: find_entries
      updates:
      - variable: count_mutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-finding-k-matches.i
        file_hash: 23b7e77d93c189e6cf0c800b98695aaeb3cd6c5d5cdcba8cc401c4aa43960d01
        line: 1336
        column: 5
        function: find_entries
      updates:
      - variable: count_mutex_locked
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.1"
    uuid: df67600f-00b6-468f-b0ef-ac2f8b91aa83
    creation_time: 2024-09-27T13:59:00Z
    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-C-DAC/pthread-finding-k-matches.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-finding-k-matches.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-finding-k-matches.i: 23b7e77d93c189e6cf0c800b98695aaeb3cd6c5d5cdcba8cc401c4aa43960d01
      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-C-DAC/pthread-finding-k-matches.i
        file_hash: 23b7e77d93c189e6cf0c800b98695aaeb3cd6c5d5cdcba8cc401c4aa43960d01
        line: 1382
        column: 9
        function: main
      value: '! multithreaded || num_threads == 2'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-finding-k-matches.i
        file_hash: 23b7e77d93c189e6cf0c800b98695aaeb3cd6c5d5cdcba8cc401c4aa43960d01
        line: 1382
        column: 9
        function: main
      value: '! multithreaded || num_threads == 2'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-finding-k-matches.i
        file_hash: 23b7e77d93c189e6cf0c800b98695aaeb3cd6c5d5cdcba8cc401c4aa43960d01
        line: 1382
        column: 9
        function: main
      value: '! multithreaded || (-2147483648. <= search_no && search_no <= 2147483647.)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-finding-k-matches.i
        file_hash: 23b7e77d93c189e6cf0c800b98695aaeb3cd6c5d5cdcba8cc401c4aa43960d01
        line: 1382
        column: 9
        function: main
      value: '! multithreaded || (-2147483648. <= search_no && search_no <= 2147483647.)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-finding-k-matches.i
        file_hash: 23b7e77d93c189e6cf0c800b98695aaeb3cd6c5d5cdcba8cc401c4aa43960d01
        line: 1382
        column: 9
        function: main
      value: '! multithreaded || iterations == 500'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-finding-k-matches.i
        file_hash: 23b7e77d93c189e6cf0c800b98695aaeb3cd6c5d5cdcba8cc401c4aa43960d01
        line: 1382
        column: 9
        function: main
      value: '! multithreaded || iterations == 500'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-finding-k-matches.i
        file_hash: 23b7e77d93c189e6cf0c800b98695aaeb3cd6c5d5cdcba8cc401c4aa43960d01
        line: 1382
        column: 9
        function: main
      value: '! multithreaded || 0 <= count'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-finding-k-matches.i
        file_hash: 23b7e77d93c189e6cf0c800b98695aaeb3cd6c5d5cdcba8cc401c4aa43960d01
        line: 1382
        column: 9
        function: main
      value: '! multithreaded || 0 <= count'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-finding-k-matches.i
        file_hash: 23b7e77d93c189e6cf0c800b98695aaeb3cd6c5d5cdcba8cc401c4aa43960d01
        line: 1382
        column: 9
        function: main
      value: '! multithreaded || (count_mutex_locked || ((((0 <= count && -2147483648.
        <= search_no) && search_no <= 2147483647.) && num_threads == 2) && iterations
        == 500))'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-C-DAC/pthread-finding-k-matches.i
        file_hash: 23b7e77d93c189e6cf0c800b98695aaeb3cd6c5d5cdcba8cc401c4aa43960d01
        line: 1382
        column: 9
        function: main
      value: '! multithreaded || (count_mutex_locked || ((((0 <= count && -2147483648.
        <= search_no) && search_no <= 2147483647.) && num_threads == 2) && iterations
        == 500))'
      format: c_expression
