bin/symbiotic --witness witness.graphml --no-slice --no-prepare --prp=../sv-benchmarks/c/Systems_DeviceDriversLinux64_ReachSafety.prp ../sv-benchmarks/c/ldv-consumption/linux-3.8-rc1-32_7a-drivers--mtd--ubi--ubi.ko-ldv_main4_true-unreach-call.cil.out.c


--------------------------------------------------------------------------------


5.0.0-KLEE:86e6f6f8-dg:03407af1-symbiotic:a8aa8ad6-minisat:3db58943-stp:17249213-sbt-instrumentation:dd7e4312
INFO: After compilation stats: Globals/Functions/Blocks/Instr.: 778 494 7009 48621
Removed infinite loop in self_vtbl_check
Removed infinite loop in add_to_list
INFO: Compilation, preparation and instrumentation time: 1.67405581474
Removed calls to '__might_sleep' (function is undefined)
Removed calls to 'might_fault' (function is undefined)
Removed calls to 'vfree' (function is undefined)
Removed calls to 'dump_stack' (function is undefined)
Removed calls to 'mutex_lock' (function is undefined)
Removed calls to 'mutex_unlock' (function is undefined)
Removed calls to '_raw_spin_lock' (function is undefined)
Removed calls to '_raw_spin_unlock' (function is undefined)
Removed calls to 'put_device' (function is undefined)
Defining function printk as symbolic
Defining function get_device as symbolic
Defining function no_llseek as symbolic
Removed calls to '__list_add' (function is undefined)
Removed calls to 'list_del' (function is undefined)
Defining function capable as symbolic
Removed calls to 'warn_slowpath_fmt' (function is undefined)
Removed calls to 'cdev_init' (function is undefined)
Removed calls to 'cdev_del' (function is undefined)
Removed calls to 'module_put' (function is undefined)
Defining function strnlen as symbolic
Removed calls to 'down_write' (function is undefined)
Removed calls to 'up_write' (function is undefined)
Defining function blocking_notifier_call_chain as symbolic
Removed calls to 'rb_erase' (function is undefined)
Removed calls to 'down_read' (function is undefined)
Removed calls to 'up_read' (function is undefined)
Defining function kmem_cache_alloc as symbolic
Defining function crc32_le as symbolic
Removed calls to 'print_hex_dump' (function is undefined)
Defining function mtd_write as symbolic
Defining function __vmalloc as symbolic
Defining function mtd_read as symbolic
Defining function vmalloc as symbolic
Defining function prandom_u32 as symbolic
Removed calls to 'yield' (function is undefined)
Defining function mtd_block_isbad as symbolic
Defining function rb_first as symbolic
Defining function rb_next as symbolic
Removed calls to 'kmem_cache_free' (function is undefined)
Removed calls to 'rb_insert_color' (function is undefined)
Defining function mtd_block_markbad as symbolic
Defining function wake_up_process as symbolic
Defining function _cond_resched as symbolic
Removed calls to '__init_rwsem' (function is undefined)
Defining function down_write_trylock as symbolic
Defining function queue_work_on as symbolic
Removed calls to '__init_waitqueue_head' (function is undefined)
Removed calls to 'prepare_to_wait' (function is undefined)
Removed calls to 'schedule' (function is undefined)
Removed calls to 'finish_wait' (function is undefined)
Removed calls to '__wake_up' (function is undefined)
Defining function mtd_erase as symbolic
Defining function autoremove_wake_function as symbolic
Defining function rb_last as symbolic
Removed calls to 'device_remove_file' (function is undefined)
Removed calls to 'device_unregister' (function is undefined)
Defining function try_module_get as symbolic
Defining function cdev_add as symbolic
Defining function dev_set_name as symbolic
Defining function device_register as symbolic
Defining function device_create_file as symbolic
Defining function _copy_from_user as symbolic
Removed calls to 'put_mtd_device' (function is undefined)
Defining function get_mtd_device as symbolic
Removed calls to '__mutex_init' (function is undefined)
Removed calls to '__raw_spin_lock_init' (function is undefined)
Removed calls to 'unregister_chrdev_region' (function is undefined)
Removed calls to 'debugfs_remove_recursive' (function is undefined)
Defining function kthread_stop as symbolic
Defining function vzalloc as symbolic
Defining function kthread_create_on_node as symbolic
Defining function set_freezable as symbolic
Defining function kthread_should_stop as symbolic
Defining function __refrigerator as symbolic
Defining function freezing_slow_path as symbolic
Defining function snprintf as symbolic
Defining function debugfs_create_dir as symbolic
Defining function debugfs_create_file as symbolic
Defining function sprintf as symbolic
Defining function alloc_chrdev_region as symbolic
Removed calls to 'get_random_bytes' (function is undefined)
Removed calls to 'kmem_cache_destroy' (function is undefined)
Removed calls to '__init_work' (function is undefined)
Removed calls to 'lockdep_init_map' (function is undefined)
Removed calls to '__list_del_entry' (function is undefined)
Removed calls to 'warn_slowpath_null' (function is undefined)
Defining function kmem_cache_create as symbolic
Defining function mtd_get_device_size as symbolic
Defining function simple_open as symbolic
Defining function simple_read_from_buffer as symbolic
Defining function _copy_to_user as symbolic
Defining function mutex_trylock as symbolic
Removed calls to 'ldv_handler_precall' (function is undefined)
Removed calls to 'debugfs_remove' (function is undefined)
Removed calls to 'class_remove_file' (function is undefined)
Removed calls to 'class_destroy' (function is undefined)
Defining function misc_deregister as symbolic
Removed calls to 'ldv_check_return_value' (function is undefined)
Removed calls to 'path_put' (function is undefined)
Defining function kern_path as symbolic
Defining function blocking_notifier_chain_register as symbolic
Defining function blocking_notifier_chain_unregister as symbolic
Linked our definitions to these undefined functions:
  memcmp
  strcmp
  strlen
  strncmp
  __kmalloc
  __memcpy
  kfree
  __VERIFIER_error
  __VERIFIER_make_symbolic
  __VERIFIER_malloc0
  __VERIFIER_nondet_int_named
INFO: After-slicing optimizations and preparation time: 1.95628595352
INFO: Before verification stats: Globals/Functions/Blocks/Instr.: 909 446 3974 31508
INFO: Starting verification
KLEE: WARNING ONCE: function "vol_cdev_ioctl" has inline asm
KLEE: WARNING ONCE: function "vol_cdev_release" has inline asm
KLEE: WARNING ONCE: function "ubi_get_device" has inline asm
KLEE: WARNING ONCE: function "ubi_cdev_ioctl" has inline asm
KLEE: WARNING ONCE: function "ubi_get_by_major" has inline asm
KLEE: WARNING ONCE: function "ubi_remove_volume" has inline asm
KLEE: WARNING ONCE: function "ubi_update_fastmap" has inline asm
KLEE: WARNING ONCE: function "ubi_refill_pools" has inline asm
KLEE: WARNING ONCE: function "ubi_wl_put_fm_peb" has inline asm
KLEE: WARNING ONCE: function "erase_worker" has inline asm
KLEE: WARNING ONCE: function "ubi_io_write_vid_hdr" has inline asm
KLEE: WARNING ONCE: function "ubi_io_write" has inline asm
KLEE: WARNING ONCE: function "ubi_io_read" has inline asm
KLEE: WARNING ONCE: function "ubi_io_is_bad" has inline asm
KLEE: WARNING ONCE: function "ubi_io_read_ec_hdr" has inline asm
KLEE: WARNING ONCE: function "ubi_io_sync_erase" has inline asm
KLEE: WARNING ONCE: function "ubi_io_write_ec_hdr" has inline asm
KLEE: WARNING ONCE: function "wl_tree_add" has inline asm
KLEE: WARNING ONCE: function "schedule_erase" has inline asm
KLEE: WARNING ONCE: function "ubi_io_mark_bad" has inline asm
KLEE: WARNING ONCE: function "__schedule_ubi_work" has inline asm
KLEE: WARNING ONCE: function "wear_leveling_worker" has inline asm
KLEE: WARNING ONCE: function "ubi_io_read_vid_hdr" has inline asm
KLEE: WARNING ONCE: function "ubi_eba_copy_leb" has inline asm
KLEE: WARNING ONCE: function "prot_queue_add" has inline asm
KLEE: WARNING ONCE: function "ltree_add_entry" has inline asm
KLEE: WARNING ONCE: function "ubi_calc_data_len" has inline asm
KLEE: WARNING ONCE: function "leb_write_unlock" has inline asm
KLEE: WARNING ONCE: function "in_wl_tree" has inline asm
KLEE: WARNING ONCE: function "do_sync_erase" has inline asm
KLEE: WARNING ONCE: function "do_work" has inline asm
KLEE: WARNING ONCE: function "ubi_wl_put_peb" has inline asm
KLEE: WARNING ONCE: function "ubi_io_write_data" has inline asm
KLEE: WARNING ONCE: function "ubi_change_vtbl_record" has inline asm
KLEE: WARNING ONCE: function "ubi_eba_read_leb" has inline asm
KLEE: WARNING ONCE: function "leb_read_unlock" has inline asm
KLEE: WARNING ONCE: function "ubi_io_read_data" has inline asm
KLEE: WARNING ONCE: function "ubi_wl_flush" has inline asm
KLEE: WARNING ONCE: function "ctrl_cdev_ioctl" has inline asm
KLEE: WARNING ONCE: function "ubi_attach_mtd_dev" has inline asm
KLEE: WARNING ONCE: function "ubi_detach_mtd_dev" has inline asm
KLEE: WARNING ONCE: function "cancel_pending" has inline asm
KLEE: WARNING ONCE: function "ubi_thread" has inline asm
KLEE: WARNING ONCE: function "ubi_read_volume_table" has inline asm
KLEE: WARNING ONCE: function "ubi_wl_init" has inline asm
KLEE: WARNING ONCE: function "self_check_eba" has inline asm
KLEE: WARNING ONCE: function "add_to_list" has inline asm
KLEE: WARNING ONCE: function "scan_pool" has inline asm
KLEE: WARNING ONCE: function "vol_attribute_show" has inline asm
KLEE: WARNING ONCE: function "get_exclusive" has inline asm
KLEE: WARNING ONCE: function "ubi_start_update" has inline asm
KLEE: WARNING ONCE: function "revoke_exclusive" has inline asm
KLEE: WARNING ONCE: function "ubi_start_leb_change" has inline asm
KLEE: WARNING ONCE: function "clear_update_marker" has inline asm
KLEE: WARNING ONCE: function "ubi_more_update_data" has inline asm
KLEE: WARNING ONCE: function "ubi_eba_write_leb_st" has inline asm
KLEE: WARNING ONCE: function "ubi_more_leb_change_data" has inline asm
KLEE: WARNING: undefined reference to variable: system_wq
KLEE: ERROR: unable to load symbol(system_wq) while initializing globals.
KLEE: output directory is "/tmp/symbiotic-UJG4Lf/klee-out-0"
KLEE: Using STP solver backend
KLEE: WARNING ONCE: function "vol_cdev_ioctl" has inline asm
KLEE: WARNING ONCE: function "vol_cdev_release" has inline asm
KLEE: WARNING ONCE: function "ubi_get_device" has inline asm
KLEE: WARNING ONCE: function "ubi_cdev_ioctl" has inline asm
KLEE: WARNING ONCE: function "ubi_get_by_major" has inline asm
KLEE: WARNING ONCE: function "ubi_remove_volume" has inline asm
KLEE: WARNING ONCE: function "ubi_update_fastmap" has inline asm
KLEE: WARNING ONCE: function "ubi_refill_pools" has inline asm
KLEE: WARNING ONCE: function "ubi_wl_put_fm_peb" has inline asm
KLEE: WARNING ONCE: function "erase_worker" has inline asm
KLEE: WARNING ONCE: function "ubi_io_write_vid_hdr" has inline asm
KLEE: WARNING ONCE: function "ubi_io_write" has inline asm
KLEE: WARNING ONCE: function "ubi_io_read" has inline asm
KLEE: WARNING ONCE: function "ubi_io_is_bad" has inline asm
KLEE: WARNING ONCE: function "ubi_io_read_ec_hdr" has inline asm
KLEE: WARNING ONCE: function "ubi_io_sync_erase" has inline asm
KLEE: WARNING ONCE: function "ubi_io_write_ec_hdr" has inline asm
KLEE: WARNING ONCE: function "wl_tree_add" has inline asm
KLEE: WARNING ONCE: function "schedule_erase" has inline asm
KLEE: WARNING ONCE: function "ubi_io_mark_bad" has inline asm
KLEE: WARNING ONCE: function "__schedule_ubi_work" has inline asm
KLEE: WARNING ONCE: function "wear_leveling_worker" has inline asm
KLEE: WARNING ONCE: function "ubi_io_read_vid_hdr" has inline asm
KLEE: WARNING ONCE: function "ubi_eba_copy_leb" has inline asm
KLEE: WARNING ONCE: function "prot_queue_add" has inline asm
KLEE: WARNING ONCE: function "ltree_add_entry" has inline asm
KLEE: WARNING ONCE: function "ubi_calc_data_len" has inline asm
KLEE: WARNING ONCE: function "leb_write_unlock" has inline asm
KLEE: WARNING ONCE: function "in_wl_tree" has inline asm
KLEE: WARNING ONCE: function "do_sync_erase" has inline asm
KLEE: WARNING ONCE: function "do_work" has inline asm
KLEE: WARNING ONCE: function "ubi_wl_put_peb" has inline asm
KLEE: WARNING ONCE: function "ubi_io_write_data" has inline asm
KLEE: WARNING ONCE: function "ubi_change_vtbl_record" has inline asm
KLEE: WARNING ONCE: function "ubi_eba_read_leb" has inline asm
KLEE: WARNING ONCE: function "leb_read_unlock" has inline asm
KLEE: WARNING ONCE: function "ubi_io_read_data" has inline asm
KLEE: WARNING ONCE: function "ubi_wl_flush" has inline asm
KLEE: WARNING ONCE: function "ctrl_cdev_ioctl" has inline asm
KLEE: WARNING ONCE: function "ubi_attach_mtd_dev" has inline asm
KLEE: WARNING ONCE: function "ubi_detach_mtd_dev" has inline asm
KLEE: WARNING ONCE: function "cancel_pending" has inline asm
KLEE: WARNING ONCE: function "ubi_thread" has inline asm
KLEE: WARNING ONCE: function "ubi_read_volume_table" has inline asm
KLEE: WARNING ONCE: function "ubi_wl_init" has inline asm
KLEE: WARNING ONCE: function "self_check_eba" has inline asm
KLEE: WARNING ONCE: function "add_to_list" has inline asm
KLEE: WARNING ONCE: function "scan_pool" has inline asm
KLEE: WARNING ONCE: function "vol_attribute_show" has inline asm
KLEE: WARNING ONCE: function "get_exclusive" has inline asm
KLEE: WARNING ONCE: function "ubi_start_update" has inline asm
KLEE: WARNING ONCE: function "revoke_exclusive" has inline asm
KLEE: WARNING ONCE: function "ubi_start_leb_change" has inline asm
KLEE: WARNING ONCE: function "clear_update_marker" has inline asm
KLEE: WARNING ONCE: function "ubi_more_update_data" has inline asm
KLEE: WARNING ONCE: function "ubi_eba_write_leb_st" has inline asm
KLEE: WARNING ONCE: function "ubi_more_leb_change_data" has inline asm
KLEE: WARNING: undefined reference to variable: system_wq
KLEE: ERROR: unable to load symbol(system_wq) while initializing globals.
Running the verifier failed
RESULT: unknown
INFO: Total time elapsed: 4.13417410851
