- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.0"
    uuid: b735d786-cb29-428b-9218-b05a0fce9188
    creation_time: 2025-05-28T12:16:25Z
    producer:
      name: Goblint
      version: heads/master-0-gb8fb60e5d-dirty
      command_line: '''./goblint'' ''--conf'' ''conf/svcomp-ghost.json'' ''--set''
        ''ana.base.privatization'' ''protection-read'' ''--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-4_1-thread_local_vars.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-4_1-thread_local_vars.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-4_1-thread_local_vars.i: a9552a698db9701543deeff63aa990ab8fc4764b65dba5035623425bdf77554d
      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-4_1-thread_local_vars.i
        line: 1780
        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-4_1-thread_local_vars.i
        line: 1701
        column: 4
        function: ath9k_flush
      updates:
      - variable: mutex_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-4_1-thread_local_vars.i
        line: 1698
        column: 4
        function: ath9k_flush
      updates:
      - variable: mutex_locked
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.0"
    uuid: 29a87f7a-de38-404b-9336-c1687c055747
    creation_time: 2025-05-28T12:16:25Z
    producer:
      name: Goblint
      version: heads/master-0-gb8fb60e5d-dirty
      command_line: '''./goblint'' ''--conf'' ''conf/svcomp-ghost.json'' ''--set''
        ''ana.base.privatization'' ''protection-read'' ''--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-4_1-thread_local_vars.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-4_1-thread_local_vars.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-4_1-thread_local_vars.i: a9552a698db9701543deeff63aa990ab8fc4764b65dba5035623425bdf77554d
      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-4_1-thread_local_vars.i
        line: 1719
        column: 7
        function: ieee80211_register_hw
      value: '! multithreaded || ((((pdev == 1 || pdev == 5) || pdev == 6) || pdev
        == 8) || pdev == 9)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-4_1-thread_local_vars.i
        line: 1781
        column: 7
        function: module_init
      value: '! multithreaded || ((((pdev == 1 || pdev == 5) || pdev == 6) || pdev
        == 8) || pdev == 9)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-4_1-thread_local_vars.i
        line: 1719
        column: 7
        function: ieee80211_register_hw
      value: '! multithreaded || (ldv_usb_state == 0 || ldv_usb_state == 1)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-races/race-4_1-thread_local_vars.i
        line: 1781
        column: 7
        function: module_init
      value: '! multithreaded || (ldv_usb_state == 0 || ldv_usb_state == 1)'
      format: c_expression
