- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.1"
    uuid: e1f48135-0b7d-4e52-8e23-317bcab9cdf2
    creation_time: 2024-09-27T13:55:48Z
    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/ldv-races/race-1_2-join.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-1_2-join.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-1_2-join.i: fd4c3d19582748238e9ca587d159d6e8fc23db581cd4de03be73dc785992e03f
      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: mutex_locked
      scope: global
      type: int
      initial:
        value: "0"
        format: c_expression
    ghost_updates:
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-1_2-join.i
        file_hash: fd4c3d19582748238e9ca587d159d6e8fc23db581cd4de03be73dc785992e03f
        line: 1712
        column: 7
        function: module_init
      updates:
      - variable: multithreaded
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-1_2-join.i
        file_hash: fd4c3d19582748238e9ca587d159d6e8fc23db581cd4de03be73dc785992e03f
        line: 1704
        column: 4
        function: thread1
      updates:
      - variable: mutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-1_2-join.i
        file_hash: fd4c3d19582748238e9ca587d159d6e8fc23db581cd4de03be73dc785992e03f
        line: 1700
        column: 4
        function: thread1
      updates:
      - variable: mutex_locked
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.1"
    uuid: 27cc8ac1-ac3d-4e36-aa2e-f583e1d384a5
    creation_time: 2024-09-27T13:55:48Z
    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/ldv-races/race-1_2-join.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-1_2-join.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-1_2-join.i: fd4c3d19582748238e9ca587d159d6e8fc23db581cd4de03be73dc785992e03f
      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/ldv-races/race-1_2-join.i
        file_hash: fd4c3d19582748238e9ca587d159d6e8fc23db581cd4de03be73dc785992e03f
        line: 1713
        column: 7
        function: module_init
      value: '! multithreaded || (((pdev == 1 || pdev == 2) || pdev == 5) || pdev
        == 6)'
      format: c_expression
