- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.1"
    uuid: 034b64f4-b466-4000-9706-76d7d8f433f0
    creation_time: 2024-09-27T13:59:11Z
    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/goblint-regression/13-privatized_36-traces-ex-3_true.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_36-traces-ex-3_true.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_36-traces-ex-3_true.i: 00ab4006d72abca4f35a64fe9dabb6d6d9b6871c611e836e638cfc5bf3cdc124
      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: A_locked
      scope: global
      type: int
      initial:
        value: "0"
        format: c_expression
    - name: B_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_36-traces-ex-3_true.i
        file_hash: 00ab4006d72abca4f35a64fe9dabb6d6d9b6871c611e836e638cfc5bf3cdc124
        line: 700
        column: 3
        function: main
      updates:
      - variable: B_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_36-traces-ex-3_true.i
        file_hash: 00ab4006d72abca4f35a64fe9dabb6d6d9b6871c611e836e638cfc5bf3cdc124
        line: 698
        column: 3
        function: main
      updates:
      - variable: B_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_36-traces-ex-3_true.i
        file_hash: 00ab4006d72abca4f35a64fe9dabb6d6d9b6871c611e836e638cfc5bf3cdc124
        line: 697
        column: 3
        function: main
      updates:
      - variable: A_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_36-traces-ex-3_true.i
        file_hash: 00ab4006d72abca4f35a64fe9dabb6d6d9b6871c611e836e638cfc5bf3cdc124
        line: 696
        column: 3
        function: main
      updates:
      - variable: A_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_36-traces-ex-3_true.i
        file_hash: 00ab4006d72abca4f35a64fe9dabb6d6d9b6871c611e836e638cfc5bf3cdc124
        line: 695
        column: 3
        function: main
      updates:
      - variable: multithreaded
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_36-traces-ex-3_true.i
        file_hash: 00ab4006d72abca4f35a64fe9dabb6d6d9b6871c611e836e638cfc5bf3cdc124
        line: 690
        column: 3
        function: t_fun
      updates:
      - variable: B_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_36-traces-ex-3_true.i
        file_hash: 00ab4006d72abca4f35a64fe9dabb6d6d9b6871c611e836e638cfc5bf3cdc124
        line: 688
        column: 3
        function: t_fun
      updates:
      - variable: A_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_36-traces-ex-3_true.i
        file_hash: 00ab4006d72abca4f35a64fe9dabb6d6d9b6871c611e836e638cfc5bf3cdc124
        line: 687
        column: 3
        function: t_fun
      updates:
      - variable: A_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_36-traces-ex-3_true.i
        file_hash: 00ab4006d72abca4f35a64fe9dabb6d6d9b6871c611e836e638cfc5bf3cdc124
        line: 685
        column: 3
        function: t_fun
      updates:
      - variable: B_locked
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.1"
    uuid: 47758e52-9e27-4808-85f8-4e3e70027ada
    creation_time: 2024-09-27T13:59:11Z
    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/goblint-regression/13-privatized_36-traces-ex-3_true.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_36-traces-ex-3_true.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_36-traces-ex-3_true.i: 00ab4006d72abca4f35a64fe9dabb6d6d9b6871c611e836e638cfc5bf3cdc124
      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_36-traces-ex-3_true.i
        file_hash: 00ab4006d72abca4f35a64fe9dabb6d6d9b6871c611e836e638cfc5bf3cdc124
        line: 696
        column: 3
        function: main
      value: '! multithreaded || (g == 1 || g == 2)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/goblint-regression/13-privatized_36-traces-ex-3_true.i
        file_hash: 00ab4006d72abca4f35a64fe9dabb6d6d9b6871c611e836e638cfc5bf3cdc124
        line: 696
        column: 3
        function: main
      value: '! multithreaded || (B_locked || g == 2)'
      format: c_expression
