bin/symbiotic --witness witness.graphml --no-slice --no-prepare --prp=../sv-benchmarks/c/Systems_DeviceDriversLinux64_ReachSafety.prp ../sv-benchmarks/c/ldv-linux-3.14/linux-3.14__complex_emg__linux-kernel-locking-mutex__drivers-media-usb-stk1160-stk1160_true-unreach-call.cil.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.: 209 266 1698 10215
Removed infinite loop in ldv_assume
Removed infinite loop in ldv_stop
INFO: Compilation, preparation and instrumentation time: 0.500607967377
Removed calls to 'usb_deregister' (function is undefined)
Defining function usb_register_driver as symbolic
Defining function ldv_pre_usb_register_driver as symbolic
Removed calls to 'vb2_buffer_done' (function is undefined)
Removed calls to '__list_add' (function is undefined)
Removed calls to '_raw_spin_unlock_irqrestore' (function is undefined)
Defining function _raw_spin_lock_irqsave as symbolic
Defining function vb2_plane_vaddr as symbolic
Defining function printk as symbolic
Removed calls to 'ldv_check_alloc_flags' (function is undefined)
Removed calls to 'ldv_after_alloc' (function is undefined)
Removed calls to 'usb_free_urb' (function is undefined)
Defining function usb_submit_urb as symbolic
Defining function usb_set_interface as symbolic
Removed calls to 'list_del' (function is undefined)
Removed calls to 'usb_kill_urb' (function is undefined)
Removed calls to 'usb_free_coherent' (function is undefined)
Defining function usb_control_msg as symbolic
Defining function usb_alloc_urb as symbolic
Defining function usb_alloc_coherent as symbolic
Removed calls to 'v4l2_get_timestamp' (function is undefined)
Defining function ___ratelimit as symbolic
Defining function vb2_fop_mmap as symbolic
Defining function vb2_fop_poll as symbolic
Defining function vb2_fop_read as symbolic
Defining function video_ioctl2 as symbolic
Defining function vb2_ioctl_dqbuf as symbolic
Defining function strlcpy as symbolic
Defining function sprintf as symbolic
Defining function video_devdata as symbolic
Defining function v4l2_ctrl_log_status as symbolic
Defining function vb2_ioctl_qbuf as symbolic
Defining function vb2_ioctl_querybuf as symbolic
Defining function snprintf as symbolic
Defining function vb2_ioctl_reqbufs as symbolic
Defining function vb2_ioctl_streamoff as symbolic
Defining function vb2_ioctl_streamon as symbolic
Defining function v4l2_ctrl_subscribe_event as symbolic
Defining function v4l2_event_unsubscribe as symbolic
Removed calls to 'usleep_range' (function is undefined)
Defining function msecs_to_jiffies as symbolic
Removed calls to '__raw_spin_lock_init' (function is undefined)
Removed calls to '__mutex_init' (function is undefined)
Removed calls to 'i2c_del_adapter' (function is undefined)
Removed calls to 'v4l2_device_unregister' (function is undefined)
Removed calls to 'v4l2_ctrl_handler_free' (function is undefined)
Removed calls to 'video_unregister_device' (function is undefined)
Removed calls to 'v4l2_device_disconnect' (function is undefined)
Defining function v4l2_device_put as symbolic
Defining function snd_card_free as symbolic
Defining function v4l2_ctrl_handler_init_class as symbolic
Defining function v4l2_device_register as symbolic
Defining function v4l2_i2c_new_subdev as symbolic
Defining function __video_register_device as symbolic
Defining function snd_card_create as symbolic
Defining function snd_ac97_bus as symbolic
Defining function snd_ac97_mixer as symbolic
Defining function snd_card_register as symbolic
Defining function i2c_add_adapter as symbolic
Defining function vb2_queue_init as symbolic
Defining function dev_err as symbolic
Defining function _dev_info as symbolic
Defining function dev_warn as symbolic
Defining function v4l2_fh_open as symbolic
Defining function vb2_fop_release as symbolic
Defining function external_allocated_data as symbolic
Removed calls to 'vb2_ops_wait_finish' (function is undefined)
Removed calls to 'vb2_ops_wait_prepare' (function is undefined)
Removed calls to 'ldv_pre_probe' (function is undefined)
Removed calls to 'video_device_release_empty' (function is undefined)
Removed calls to 'ldv_assert' (function is undefined)
Linked our definitions to these undefined functions:
  strcpy
  strncpy
  __kmalloc
  kfree
  __VERIFIER_assume
  __VERIFIER_calloc0
  __VERIFIER_error
  __VERIFIER_exit
  __VERIFIER_make_symbolic
  __VERIFIER_malloc0
  __VERIFIER_nondet_int_named
  __VERIFIER_nondet_pointer_named
  __VERIFIER_nondet_ulong_named
INFO: After-slicing optimizations and preparation time: 0.476288080215
INFO: Before verification stats: Globals/Functions/Blocks/Instr.: 257 269 916 5756
INFO: Starting verification
KLEE: WARNING ONCE: function "stk1160_video_register" has inline asm
KLEE: WARNING: undefined reference to function: vb2_ops_wait_finish
KLEE: WARNING: undefined reference to function: vb2_ops_wait_prepare
KLEE: WARNING: undefined reference to function: video_device_release_empty
KLEE: ERROR: /tmp/vcloud-vcloud-master/worker/working_dir_3f193d87-f7a2-45ff-b7ab-44a3f5e9d28f/symbiotic/lib/verifier/__VERIFIER_exit.c:6: abort failure
KLEE: NOTE: now ignoring this error at this location
KLEE: WARNING ONCE: Alignment of memory from call "malloc" is not modelled. Using alignment of 8.
KLEE: ERROR: /tmp/symbiotic-iR8BiJ/linux-3.14__complex_emg__linux-kernel-locking-mutex__drivers-media-usb-stk1160-stk1160_true-unreach-call.cil.c:6276: memory error: out of bound pointer
KLEE: NOTE: now ignoring this error at this location
KLEE: WARNING ONCE: ERROR: concretized symbolic size to 2^17,analysis may be unsound
KLEE: output directory is "/tmp/symbiotic-iR8BiJ/klee-out-0"
KLEE: Using STP solver backend
KLEE: WARNING ONCE: function "stk1160_video_register" has inline asm
KLEE: WARNING: undefined reference to function: vb2_ops_wait_finish
KLEE: WARNING: undefined reference to function: vb2_ops_wait_prepare
KLEE: WARNING: undefined reference to function: video_device_release_empty
KLEE: ERROR: /tmp/vcloud-vcloud-master/worker/working_dir_3f193d87-f7a2-45ff-b7ab-44a3f5e9d28f/symbiotic/lib/verifier/__VERIFIER_exit.c:6: abort failure
KLEE: NOTE: now ignoring this error at this location
KLEE: WARNING ONCE: Alignment of memory from call "malloc" is not modelled. Using alignment of 8.
KLEE: ERROR: /tmp/symbiotic-iR8BiJ/linux-3.14__complex_emg__linux-kernel-locking-mutex__drivers-media-usb-stk1160-stk1160_true-unreach-call.cil.c:6276: memory error: out of bound pointer
KLEE: NOTE: now ignoring this error at this location
KLEE: NOTE: found huge malloc, returning 0
KLEE: WARNING ONCE: ERROR: concretized symbolic size to 2^17,analysis may be unsound
0  klee            0x00000000012fcca8 llvm::sys::PrintStackTrace(llvm::raw_ostream&) + 56
1  klee            0x00000000012fac7e llvm::sys::RunSignalHandlers() + 62
2  klee            0x00000000012fadcc
3  libpthread.so.0 0x00007f9656671390
4  klee            0x00000000005d20ab klee::Executor::executeMemoryOperation(klee::ExecutionState&, bool, klee::ref<klee::Expr>, klee::ref<klee::Expr>, klee::KInstruction*) + 75
5  klee            0x00000000005d560d klee::Executor::executeInstruction(klee::ExecutionState&, klee::KInstruction*) + 2285
6  klee            0x00000000005da8c5 klee::Executor::run(klee::ExecutionState&) + 2117
7  klee            0x00000000005daeef klee::Executor::runFunctionAsMain(llvm::Function*, int, char**, char**) + 1391
8  klee            0x0000000000593c63 main + 8867
9  libc.so.6       0x00007f9655a15830 __libc_start_main + 240
10 klee            0x00000000005bed49 _start + 41
Running the verifier failed
RESULT: unknown
INFO: Total time elapsed: 10.6626701355
