- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.1"
    uuid: f60008b6-48c8-475a-86ed-068a8c2a8618
    creation_time: 2024-09-27T12:08:10Z
    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/goblint-regression/13-privatized_67-pthread_cond_wait_true.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_67-pthread_cond_wait_true.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_67-pthread_cond_wait_true.i: 4f5c1949da3ffd7703b26279578bf3cad55c86e8b0ffaff69f49645cdd541f53
      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: mut_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_67-pthread_cond_wait_true.i
        file_hash: 4f5c1949da3ffd7703b26279578bf3cad55c86e8b0ffaff69f49645cdd541f53
        line: 1375
        column: 5
        function: main
      updates:
      - variable: multithreaded
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_67-pthread_cond_wait_true.i
        file_hash: 4f5c1949da3ffd7703b26279578bf3cad55c86e8b0ffaff69f49645cdd541f53
        line: 1368
        column: 5
        function: f2
      updates:
      - variable: mut_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_67-pthread_cond_wait_true.i
        file_hash: 4f5c1949da3ffd7703b26279578bf3cad55c86e8b0ffaff69f49645cdd541f53
        line: 1365
        column: 5
        function: f2
      updates:
      - variable: mut_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_67-pthread_cond_wait_true.i
        file_hash: 4f5c1949da3ffd7703b26279578bf3cad55c86e8b0ffaff69f49645cdd541f53
        line: 1361
        column: 5
        function: f1
      updates:
      - variable: mut_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_67-pthread_cond_wait_true.i
        file_hash: 4f5c1949da3ffd7703b26279578bf3cad55c86e8b0ffaff69f49645cdd541f53
        line: 1357
        column: 5
        function: f1
      updates:
      - variable: mut_locked
        value: "0"
        format: c_expression
      - variable: mut_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_67-pthread_cond_wait_true.i
        file_hash: 4f5c1949da3ffd7703b26279578bf3cad55c86e8b0ffaff69f49645cdd541f53
        line: 1355
        column: 5
        function: f1
      updates:
      - variable: mut_locked
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.1"
    uuid: dec6b2da-9e6c-417e-9303-776d48aa4010
    creation_time: 2024-09-27T12:08:10Z
    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/goblint-regression/13-privatized_67-pthread_cond_wait_true.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_67-pthread_cond_wait_true.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_67-pthread_cond_wait_true.i: 4f5c1949da3ffd7703b26279578bf3cad55c86e8b0ffaff69f49645cdd541f53
      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_67-pthread_cond_wait_true.i
        file_hash: 4f5c1949da3ffd7703b26279578bf3cad55c86e8b0ffaff69f49645cdd541f53
        line: 1376
        column: 5
        function: main
      value: '! multithreaded || (g == 0 || g == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_67-pthread_cond_wait_true.i
        file_hash: 4f5c1949da3ffd7703b26279578bf3cad55c86e8b0ffaff69f49645cdd541f53
        line: 1378
        column: 5
        function: main
      value: '! multithreaded || (g == 0 || g == 1)'
      format: c_expression
