- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.1"
    uuid: 5e59f3ad-495b-4416-b45a-bb2bf87e8cfb
    creation_time: 2024-09-27T13:58:12Z
    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-linux-3.14-races/linux-3.14--drivers--spi--spi-tegra20-slink.ko.cil.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-linux-3.14-races/linux-3.14--drivers--spi--spi-tegra20-slink.ko.cil.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-linux-3.14-races/linux-3.14--drivers--spi--spi-tegra20-slink.ko.cil.i: 8933630f4cde50cf36eb2db51c9e240fc5e0c6bd245d32e47623c1906a97a301
      data_model: ILP32
      language: C
      specification: CHECK( init(main()), LTL(G ! call(reach_error())) )
  content:
    ghost_variables:
    - name: smutex_lock_of_tegra_slink_data_locked
      scope: global
      type: int
      initial:
        value: "0"
        format: c_expression
    - name: multithreaded
      scope: global
      type: int
      initial:
        value: "0"
        format: c_expression
    ghost_updates:
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-linux-3.14-races/linux-3.14--drivers--spi--spi-tegra20-slink.ko.cil.i
        file_hash: 8933630f4cde50cf36eb2db51c9e240fc5e0c6bd245d32e47623c1906a97a301
        line: 6611
        column: 3
        function: ldv_spin_unlock_lock_of_tegra_slink_data
      updates:
      - variable: smutex_lock_of_tegra_slink_data_locked
        value: "0"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-linux-3.14-races/linux-3.14--drivers--spi--spi-tegra20-slink.ko.cil.i
        file_hash: 8933630f4cde50cf36eb2db51c9e240fc5e0c6bd245d32e47623c1906a97a301
        line: 6602
        column: 3
        function: ldv_spin_lock_lock_of_tegra_slink_data
      updates:
      - variable: smutex_lock_of_tegra_slink_data_locked
        value: "1"
        format: c_expression
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-linux-3.14-races/linux-3.14--drivers--spi--spi-tegra20-slink.ko.cil.i
        file_hash: 8933630f4cde50cf36eb2db51c9e240fc5e0c6bd245d32e47623c1906a97a301
        line: 5043
        column: 3
        function: ldv_dispatch_insmod_register_10_3
      updates:
      - variable: multithreaded
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.1"
    uuid: eb6bb935-8e0f-4b47-a216-813dee6d31a3
    creation_time: 2024-09-27T13:58:12Z
    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-linux-3.14-races/linux-3.14--drivers--spi--spi-tegra20-slink.ko.cil.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-linux-3.14-races/linux-3.14--drivers--spi--spi-tegra20-slink.ko.cil.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-linux-3.14-races/linux-3.14--drivers--spi--spi-tegra20-slink.ko.cil.i: 8933630f4cde50cf36eb2db51c9e240fc5e0c6bd245d32e47623c1906a97a301
      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-linux-3.14-races/linux-3.14--drivers--spi--spi-tegra20-slink.ko.cil.i
        file_hash: 8933630f4cde50cf36eb2db51c9e240fc5e0c6bd245d32e47623c1906a97a301
        line: 5045
        column: 3
        function: ldv_dispatch_insmod_register_10_3
      value: '! multithreaded || (unsigned long )__mod_of_device_table.data == 0UL'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-linux-3.14-races/linux-3.14--drivers--spi--spi-tegra20-slink.ko.cil.i
        file_hash: 8933630f4cde50cf36eb2db51c9e240fc5e0c6bd245d32e47623c1906a97a301
        line: 5077
        column: 3
        function: ldv_dispatch_irq_register_9_3
      value: '! multithreaded || (unsigned long )__mod_of_device_table.data == 0UL'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-linux-3.14-races/linux-3.14--drivers--spi--spi-tegra20-slink.ko.cil.i
        file_hash: 8933630f4cde50cf36eb2db51c9e240fc5e0c6bd245d32e47623c1906a97a301
        line: 5104
        column: 3
        function: ldv_dispatch_pm_register_3_6
      value: '! multithreaded || (unsigned long )__mod_of_device_table.data == 0UL'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-linux-3.14-races/linux-3.14--drivers--spi--spi-tegra20-slink.ko.cil.i
        file_hash: 8933630f4cde50cf36eb2db51c9e240fc5e0c6bd245d32e47623c1906a97a301
        line: 5121
        column: 3
        function: ldv_dispatch_register_6_3
      value: '! multithreaded || (unsigned long )__mod_of_device_table.data == 0UL'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-linux-3.14-races/linux-3.14--drivers--spi--spi-tegra20-slink.ko.cil.i
        file_hash: 8933630f4cde50cf36eb2db51c9e240fc5e0c6bd245d32e47623c1906a97a301
        line: 5045
        column: 3
        function: ldv_dispatch_insmod_register_10_3
      value: '! multithreaded || (smutex_lock_of_tegra_slink_data_locked || (unsigned
        long )__mod_of_device_table.data == 0UL)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-linux-3.14-races/linux-3.14--drivers--spi--spi-tegra20-slink.ko.cil.i
        file_hash: 8933630f4cde50cf36eb2db51c9e240fc5e0c6bd245d32e47623c1906a97a301
        line: 5077
        column: 3
        function: ldv_dispatch_irq_register_9_3
      value: '! multithreaded || (smutex_lock_of_tegra_slink_data_locked || (unsigned
        long )__mod_of_device_table.data == 0UL)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-linux-3.14-races/linux-3.14--drivers--spi--spi-tegra20-slink.ko.cil.i
        file_hash: 8933630f4cde50cf36eb2db51c9e240fc5e0c6bd245d32e47623c1906a97a301
        line: 5104
        column: 3
        function: ldv_dispatch_pm_register_3_6
      value: '! multithreaded || (smutex_lock_of_tegra_slink_data_locked || (unsigned
        long )__mod_of_device_table.data == 0UL)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/ldv-linux-3.14-races/linux-3.14--drivers--spi--spi-tegra20-slink.ko.cil.i
        file_hash: 8933630f4cde50cf36eb2db51c9e240fc5e0c6bd245d32e47623c1906a97a301
        line: 5121
        column: 3
        function: ldv_dispatch_register_6_3
      value: '! multithreaded || (smutex_lock_of_tegra_slink_data_locked || (unsigned
        long )__mod_of_device_table.data == 0UL)'
      format: c_expression
