- entry_type: ghost_instrumentation
  metadata:
    format_version: "2.1"
    uuid: fa095be8-238c-4963-a651-0763b6a9d576
    creation_time: 2024-09-27T12:07:44Z
    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/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i: 30012893862a7e15af8bbbaf0239dbd2e8b93523943e1ee06536b5f9fb75a514
      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
    ghost_updates:
    - location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i
        file_hash: 30012893862a7e15af8bbbaf0239dbd2e8b93523943e1ee06536b5f9fb75a514
        line: 6861
        column: 2
        function: main
      updates:
      - variable: multithreaded
        value: "1"
        format: c_expression
- entry_type: invariant_set
  metadata:
    format_version: "2.1"
    uuid: 7de8356a-2a24-4b11-95a8-e8dcda003e31
    creation_time: 2024-09-27T12:07:44Z
    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/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i'''
    task:
      input_files:
      - /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i
      input_file_hashes:
        /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i: 30012893862a7e15af8bbbaf0239dbd2e8b93523943e1ee06536b5f9fb75a514
      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/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i
        file_hash: 30012893862a7e15af8bbbaf0239dbd2e8b93523943e1ee06536b5f9fb75a514
        line: 6862
        column: 2
        function: main
      value: '! multithreaded || jiffies == 0UL'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i
        file_hash: 30012893862a7e15af8bbbaf0239dbd2e8b93523943e1ee06536b5f9fb75a514
        line: 6863
        column: 2
        function: main
      value: '! multithreaded || jiffies == 0UL'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i
        file_hash: 30012893862a7e15af8bbbaf0239dbd2e8b93523943e1ee06536b5f9fb75a514
        line: 6862
        column: 2
        function: main
      value: '! multithreaded || _whoop_exit == & nvram_cleanup'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i
        file_hash: 30012893862a7e15af8bbbaf0239dbd2e8b93523943e1ee06536b5f9fb75a514
        line: 6863
        column: 2
        function: main
      value: '! multithreaded || _whoop_exit == & nvram_cleanup'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i
        file_hash: 30012893862a7e15af8bbbaf0239dbd2e8b93523943e1ee06536b5f9fb75a514
        line: 6862
        column: 2
        function: main
      value: '! multithreaded || 0 <= whoop_int'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i
        file_hash: 30012893862a7e15af8bbbaf0239dbd2e8b93523943e1ee06536b5f9fb75a514
        line: 6863
        column: 2
        function: main
      value: '! multithreaded || 0 <= whoop_int'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i
        file_hash: 30012893862a7e15af8bbbaf0239dbd2e8b93523943e1ee06536b5f9fb75a514
        line: 6862
        column: 2
        function: main
      value: '! multithreaded || (unsigned int )default_alloc_size == 4U'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i
        file_hash: 30012893862a7e15af8bbbaf0239dbd2e8b93523943e1ee06536b5f9fb75a514
        line: 6863
        column: 2
        function: main
      value: '! multithreaded || (unsigned int )default_alloc_size == 4U'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i
        file_hash: 30012893862a7e15af8bbbaf0239dbd2e8b93523943e1ee06536b5f9fb75a514
        line: 6862
        column: 2
        function: main
      value: '! multithreaded || _whoop_init == & nvram_init'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i
        file_hash: 30012893862a7e15af8bbbaf0239dbd2e8b93523943e1ee06536b5f9fb75a514
        line: 6863
        column: 2
        function: main
      value: '! multithreaded || _whoop_init == & nvram_init'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i
        file_hash: 30012893862a7e15af8bbbaf0239dbd2e8b93523943e1ee06536b5f9fb75a514
        line: 6862
        column: 2
        function: main
      value: '! multithreaded || ((((((((((((((((((((((((nvram_fops.check_flags ==
        0 && nvram_fops.compat_ioctl == 0) && nvram_fops.dir_notify == 0) && nvram_fops.fasync
        == 0) && nvram_fops.flock == 0) && nvram_fops.flush == 0) && nvram_fops.fsync
        == 0) && nvram_fops.get_unmapped_area == 0) && nvram_fops.ioctl == 0) && nvram_fops.llseek
        == & nvram_llseek) && nvram_fops.lock == 0) && nvram_fops.mmap == 0) && nvram_fops.open
        == 0) && nvram_fops.open_exec == 0) && nvram_fops.owner == 0) && nvram_fops.poll
        == 0) && nvram_fops.read == & read_nvram) && nvram_fops.readdir == 0) && nvram_fops.readv
        == 0) && nvram_fops.release == 0) && nvram_fops.sendfile == 0) && nvram_fops.sendpage
        == 0) && nvram_fops.unlocked_ioctl == & nvram_unlocked_ioctl) && nvram_fops.write
        == & write_nvram) && nvram_fops.writev == 0)'
      format: c_expression
  - invariant:
      type: location_invariant
      location:
        file_name: /mnt/goblint-svcomp/benchexec/sv-benchmarks/c/pthread-driver-races/char_generic_nvram_read_nvram_nvram_unlocked_ioctl.i
        file_hash: 30012893862a7e15af8bbbaf0239dbd2e8b93523943e1ee06536b5f9fb75a514
        line: 6863
        column: 2
        function: main
      value: '! multithreaded || ((((((((((((((((((((((((nvram_fops.check_flags ==
        0 && nvram_fops.compat_ioctl == 0) && nvram_fops.dir_notify == 0) && nvram_fops.fasync
        == 0) && nvram_fops.flock == 0) && nvram_fops.flush == 0) && nvram_fops.fsync
        == 0) && nvram_fops.get_unmapped_area == 0) && nvram_fops.ioctl == 0) && nvram_fops.llseek
        == & nvram_llseek) && nvram_fops.lock == 0) && nvram_fops.mmap == 0) && nvram_fops.open
        == 0) && nvram_fops.open_exec == 0) && nvram_fops.owner == 0) && nvram_fops.poll
        == 0) && nvram_fops.read == & read_nvram) && nvram_fops.readdir == 0) && nvram_fops.readv
        == 0) && nvram_fops.release == 0) && nvram_fops.sendfile == 0) && nvram_fops.sendpage
        == 0) && nvram_fops.unlocked_ioctl == & nvram_unlocked_ioctl) && nvram_fops.write
        == & write_nvram) && nvram_fops.writev == 0)'
      format: c_expression
