// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_ulong // Function: __copy_from_user_overflow // with type: void __copy_from_user_overflow() // with return type: void void __copy_from_user_overflow() { // Void type return; } // Function: __copy_to_user_overflow // with type: void __copy_to_user_overflow() // with return type: void void __copy_to_user_overflow() { // Void type return; } // Function: __dynamic_dev_dbg // with type: void __dynamic_dev_dbg(struct _ddebug *, const struct device *, const char *, ...) // with return type: void void __dynamic_dev_dbg(struct _ddebug *arg0, const struct device *arg1, const char *arg2, ...) { // Void type return; } // Function: __dynamic_pr_debug // with type: void __dynamic_pr_debug(struct _ddebug *, const char *, ...) // with return type: void void __dynamic_pr_debug(struct _ddebug *arg0, const char *arg1, ...) { // Void type return; } // Function: __hid_request // with type: void __hid_request(struct hid_device *, struct hid_report *, int) // with return type: void void __hid_request(struct hid_device *arg0, struct hid_report *arg1, int arg2) { // Void type return; } // Function: __init_waitqueue_head // with type: void __init_waitqueue_head(wait_queue_head_t *, const char *, struct lock_class_key *) // with return type: void void __init_waitqueue_head(wait_queue_head_t *arg0, const char *arg1, struct lock_class_key *arg2) { // Void type return; } // Function: __init_work // with type: void __init_work(struct work_struct *, int) // with return type: void void __init_work(struct work_struct *arg0, int arg1) { // Void type return; } // Function: __list_add // with type: void __list_add(struct list_head *, struct list_head *, struct list_head *) // with return type: void void __list_add(struct list_head *arg0, struct list_head *arg1, struct list_head *arg2) { // Void type return; } // Function: __might_fault // with type: void __might_fault(const char *, int) // with return type: void void __might_fault(const char *arg0, int arg1) { // Void type return; } // Function: __might_sleep // with type: void __might_sleep(const char *, int, int) // with return type: void void __might_sleep(const char *arg0, int arg1, int arg2) { // Void type return; } // Function: __msecs_to_jiffies // with type: unsigned long int __msecs_to_jiffies(const unsigned int) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int __msecs_to_jiffies(const unsigned int arg0) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: __mutex_init // with type: void __mutex_init(struct mutex *, const char *, struct lock_class_key *) // with return type: void void __mutex_init(struct mutex *arg0, const char *arg1, struct lock_class_key *arg2) { // Void type return; } // Function: __raw_spin_lock_init // with type: void __raw_spin_lock_init(raw_spinlock_t *, const char *, struct lock_class_key *) // with return type: void void __raw_spin_lock_init(raw_spinlock_t *arg0, const char *arg1, struct lock_class_key *arg2) { // Void type return; } // Function: __usb_get_extra_descriptor // with type: int __usb_get_extra_descriptor(char *, unsigned int, unsigned char, void **) // with return type: int int __VERIFIER_nondet_int(void); int __usb_get_extra_descriptor(char *arg0, unsigned int arg1, unsigned char arg2, void **arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: __wake_up // with type: void __wake_up(wait_queue_head_t *, unsigned int, int, void *) // with return type: void void __wake_up(wait_queue_head_t *arg0, unsigned int arg1, int arg2, void *arg3) { // Void type return; } // Function: _copy_from_user // with type: unsigned long int _copy_from_user(void *, const void *, unsigned int) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int _copy_from_user(void *arg0, const void *arg1, unsigned int arg2) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: _copy_to_user // with type: unsigned long int _copy_to_user(void *, const void *, unsigned int) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int _copy_to_user(void *arg0, const void *arg1, unsigned int arg2) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: _dev_info // with type: void _dev_info(const struct device *, const char *, ...) // with return type: void void _dev_info(const struct device *arg0, const char *arg1, ...) { // Void type return; } // Function: _raw_spin_lock // with type: void _raw_spin_lock(raw_spinlock_t *) // with return type: void void _raw_spin_lock(raw_spinlock_t *arg0) { // Void type return; } // Function: _raw_spin_lock_irq // with type: void _raw_spin_lock_irq(raw_spinlock_t *) // with return type: void void _raw_spin_lock_irq(raw_spinlock_t *arg0) { // Void type return; } // Function: _raw_spin_lock_irqsave // with type: unsigned long int _raw_spin_lock_irqsave(raw_spinlock_t *) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int _raw_spin_lock_irqsave(raw_spinlock_t *arg0) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: _raw_spin_unlock // with type: void _raw_spin_unlock(raw_spinlock_t *) // with return type: void void _raw_spin_unlock(raw_spinlock_t *arg0) { // Void type return; } // Function: _raw_spin_unlock_irq // with type: void _raw_spin_unlock_irq(raw_spinlock_t *) // with return type: void void _raw_spin_unlock_irq(raw_spinlock_t *arg0) { // Void type return; } // Function: _raw_spin_unlock_irqrestore // with type: void _raw_spin_unlock_irqrestore(raw_spinlock_t *, unsigned long) // with return type: void void _raw_spin_unlock_irqrestore(raw_spinlock_t *arg0, unsigned long arg1) { // Void type return; } // Skip function: calloc // Function: cancel_work_sync // with type: bool cancel_work_sync(struct work_struct *) // with return type: bool bool __VERIFIER_nondet_bool(void); bool cancel_work_sync(struct work_struct *arg0) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: del_timer_sync // with type: int del_timer_sync(struct timer_list *) // with return type: int int __VERIFIER_nondet_int(void); int del_timer_sync(struct timer_list *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: dev_err // with type: void dev_err(const struct device *, const char *, ...) // with return type: void void dev_err(const struct device *arg0, const char *arg1, ...) { // Void type return; } // Function: dev_notice // with type: void dev_notice(const struct device *, const char *, ...) // with return type: void void dev_notice(const struct device *arg0, const char *arg1, ...) { // Void type return; } // Function: dev_warn // with type: void dev_warn(const struct device *, const char *, ...) // with return type: void void dev_warn(const struct device *arg0, const char *arg1, ...) { // Void type return; } // Function: device_set_wakeup_enable // with type: int device_set_wakeup_enable(struct device *, bool ) // with return type: int int __VERIFIER_nondet_int(void); int device_set_wakeup_enable(struct device *arg0, bool arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: down // with type: void down(struct semaphore *) // with return type: void void down(struct semaphore *arg0) { // Void type return; } // Function: down_read // with type: void down_read(struct rw_semaphore *) // with return type: void void down_read(struct rw_semaphore *arg0) { // Void type return; } // Function: down_write // with type: void down_write(struct rw_semaphore *) // with return type: void void down_write(struct rw_semaphore *arg0) { // Void type return; } // Function: fasync_helper // with type: int fasync_helper(int, struct file *, int, struct fasync_struct **) // with return type: int int __VERIFIER_nondet_int(void); int fasync_helper(int arg0, struct file *arg1, int arg2, struct fasync_struct **arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: finish_wait // with type: void finish_wait(wait_queue_head_t *, wait_queue_t *) // with return type: void void finish_wait(wait_queue_head_t *arg0, wait_queue_t *arg1) { // Void type return; } // Function: flush_workqueue // with type: void flush_workqueue(struct workqueue_struct *) // with return type: void void flush_workqueue(struct workqueue_struct *arg0) { // Void type return; } // Function: hid_add_device // with type: int hid_add_device(struct hid_device *) // with return type: int int __VERIFIER_nondet_int(void); int hid_add_device(struct hid_device *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: hid_alloc_report_buf // with type: u8 *hid_alloc_report_buf(struct hid_report *, gfp_t ) // with return type: (u8 )* u8 *hid_alloc_report_buf(struct hid_report *arg0, gfp_t arg1) { // Pointer type return ldv_malloc(sizeof(u8)); } // Function: hid_allocate_device // with type: struct hid_device *hid_allocate_device() // with return type: (struct hid_device)* struct hid_device *hid_allocate_device() { // Pointer type return ldv_malloc(sizeof(struct hid_device)); } // Function: hid_check_keys_pressed // with type: int hid_check_keys_pressed(struct hid_device *) // with return type: int int __VERIFIER_nondet_int(void); int hid_check_keys_pressed(struct hid_device *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: hid_destroy_device // with type: void hid_destroy_device(struct hid_device *) // with return type: void void hid_destroy_device(struct hid_device *arg0) { // Void type return; } // Function: hid_input_report // with type: int hid_input_report(struct hid_device *, int, u8 *, int, int) // with return type: int int __VERIFIER_nondet_int(void); int hid_input_report(struct hid_device *arg0, int arg1, u8 *arg2, int arg3, int arg4) { // Simple type return __VERIFIER_nondet_int(); } // Function: hid_output_report // with type: void hid_output_report(struct hid_report *, __u8 *) // with return type: void void hid_output_report(struct hid_report *arg0, __u8 *arg1) { // Void type return; } // Function: hid_parse_report // with type: int hid_parse_report(struct hid_device *, __u8 *, unsigned int) // with return type: int int __VERIFIER_nondet_int(void); int hid_parse_report(struct hid_device *arg0, __u8 *arg1, unsigned int arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: hid_set_field // with type: int hid_set_field(struct hid_field *, unsigned int, __s32 ) // with return type: int int __VERIFIER_nondet_int(void); int hid_set_field(struct hid_field *arg0, unsigned int arg1, __s32 arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: hidinput_count_leds // with type: unsigned int hidinput_count_leds(struct hid_device *) // with return type: unsigned int unsigned int __VERIFIER_nondet_uint(void); unsigned int hidinput_count_leds(struct hid_device *arg0) { // Simple type return __VERIFIER_nondet_uint(); } // Function: input_ff_create // with type: int input_ff_create(struct input_dev *, unsigned int) // with return type: int int __VERIFIER_nondet_int(void); int input_ff_create(struct input_dev *arg0, unsigned int arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: kasprintf // with type: char *kasprintf(gfp_t , const char *, ...) // with return type: (char)* char *kasprintf(gfp_t arg0, const char *arg1, ...) { // Pointer type return ldv_malloc(sizeof(char)); } // Skip function: kfree // Function: kill_fasync // with type: void kill_fasync(struct fasync_struct **, int, int) // with return type: void void kill_fasync(struct fasync_struct **arg0, int arg1, int arg2) { // Void type return; } // Function: ldv_disconnect_7 // with type: int ldv_disconnect_7() // with return type: int int __VERIFIER_nondet_int(void); int ldv_disconnect_7() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_initialize // with type: void ldv_initialize() // with return type: void void ldv_initialize() { // Void type return; } // Function: ldv_release_7 // with type: int ldv_release_7() // with return type: int int __VERIFIER_nondet_int(void); int ldv_release_7() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_setup_7 // with type: int ldv_setup_7() // with return type: int int __VERIFIER_nondet_int(void); int ldv_setup_7() { // Simple type return __VERIFIER_nondet_int(); } // Function: list_del // with type: void list_del(struct list_head *) // with return type: void void list_del(struct list_head *arg0) { // Void type return; } // Function: lockdep_init_map // with type: void lockdep_init_map(struct lockdep_map *, const char *, struct lock_class_key *, int) // with return type: void void lockdep_init_map(struct lockdep_map *arg0, const char *arg1, struct lock_class_key *arg2, int arg3) { // Void type return; } // Skip function: malloc // Skip function: memcmp // Skip function: memcpy // Skip function: memset // Function: mod_timer // with type: int mod_timer(struct timer_list *, unsigned long) // with return type: int int __VERIFIER_nondet_int(void); int mod_timer(struct timer_list *arg0, unsigned long arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: msleep // with type: void msleep(unsigned int) // with return type: void void msleep(unsigned int arg0) { // Void type return; } // Function: mutex_lock // with type: void mutex_lock(struct mutex *) // with return type: void void mutex_lock(struct mutex *arg0) { // Void type return; } // Function: mutex_lock_interruptible // with type: int mutex_lock_interruptible(struct mutex *) // with return type: int int __VERIFIER_nondet_int(void); int mutex_lock_interruptible(struct mutex *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: mutex_trylock // with type: int mutex_trylock(struct mutex *) // with return type: int int __VERIFIER_nondet_int(void); int mutex_trylock(struct mutex *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: mutex_unlock // with type: void mutex_unlock(struct mutex *) // with return type: void void mutex_unlock(struct mutex *arg0) { // Void type return; } // Function: noop_llseek // with type: loff_t noop_llseek(struct file *, loff_t , int) // with return type: loff_t long __VERIFIER_nondet_long(void); loff_t noop_llseek(struct file *arg0, loff_t arg1, int arg2) { // Typedef type // Real type: __kernel_loff_t // Typedef type // Real type: long long // Simple type return __VERIFIER_nondet_long(); } // Function: prepare_to_wait // with type: void prepare_to_wait(wait_queue_head_t *, wait_queue_t *, int) // with return type: void void prepare_to_wait(wait_queue_head_t *arg0, wait_queue_t *arg1, int arg2) { // Void type return; } // Function: prepare_to_wait_event // with type: long int prepare_to_wait_event(wait_queue_head_t *, wait_queue_t *, int) // with return type: long int long __VERIFIER_nondet_long(void); long int prepare_to_wait_event(wait_queue_head_t *arg0, wait_queue_t *arg1, int arg2) { // Simple type return __VERIFIER_nondet_long(); } // Function: printk // with type: int printk(const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int printk(const char *arg0, ...) { // Simple type return __VERIFIER_nondet_int(); } // Function: queue_delayed_work_on // with type: bool queue_delayed_work_on(int, struct workqueue_struct *, struct delayed_work *, unsigned long) // with return type: bool bool __VERIFIER_nondet_bool(void); bool queue_delayed_work_on(int arg0, struct workqueue_struct *arg1, struct delayed_work *arg2, unsigned long arg3) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: queue_work_on // with type: bool queue_work_on(int, struct workqueue_struct *, struct work_struct *) // with return type: bool bool __VERIFIER_nondet_bool(void); bool queue_work_on(int arg0, struct workqueue_struct *arg1, struct work_struct *arg2) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: schedule // with type: void schedule() // with return type: void void schedule() { // Void type return; } // Function: schedule_timeout // with type: long int schedule_timeout(long) // with return type: long int long __VERIFIER_nondet_long(void); long int schedule_timeout(long arg0) { // Simple type return __VERIFIER_nondet_long(); } // Skip function: snprintf // Skip function: sscanf // Function: strlcat // with type: size_t strlcat(char *, const char *, __kernel_size_t ) // with return type: size_t unsigned long __VERIFIER_nondet_ulong(void); size_t strlcat(char *arg0, const char *arg1, __kernel_size_t arg2) { // Typedef type // Real type: __kernel_size_t // Typedef type // Real type: __kernel_ulong_t // Typedef type // Real type: unsigned long // Simple type return __VERIFIER_nondet_ulong(); } // Function: strlcpy // with type: size_t strlcpy(char *, const char *, size_t ) // with return type: size_t unsigned long __VERIFIER_nondet_ulong(void); size_t strlcpy(char *arg0, const char *arg1, size_t arg2) { // Typedef type // Real type: __kernel_size_t // Typedef type // Real type: __kernel_ulong_t // Typedef type // Real type: unsigned long // Simple type return __VERIFIER_nondet_ulong(); } // Skip function: strlen // Function: up // with type: void up(struct semaphore *) // with return type: void void up(struct semaphore *arg0) { // Void type return; } // Function: up_read // with type: void up_read(struct rw_semaphore *) // with return type: void void up_read(struct rw_semaphore *arg0) { // Void type return; } // Function: up_write // with type: void up_write(struct rw_semaphore *) // with return type: void void up_write(struct rw_semaphore *arg0) { // Void type return; } // Function: usb_alloc_coherent // with type: void *usb_alloc_coherent(struct usb_device *, size_t , gfp_t , dma_addr_t *) // with return type: (void)* void *usb_alloc_coherent(struct usb_device *arg0, size_t arg1, gfp_t arg2, dma_addr_t *arg3) { // Pointer type return ldv_malloc(0UL); } // Function: usb_alloc_urb // with type: struct urb *usb_alloc_urb(int, gfp_t ) // with return type: (struct urb)* struct urb *usb_alloc_urb(int arg0, gfp_t arg1) { // Pointer type return ldv_malloc(sizeof(struct urb)); } // Function: usb_autopm_get_interface // with type: int usb_autopm_get_interface(struct usb_interface *) // with return type: int int __VERIFIER_nondet_int(void); int usb_autopm_get_interface(struct usb_interface *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: usb_autopm_get_interface_async // with type: int usb_autopm_get_interface_async(struct usb_interface *) // with return type: int int __VERIFIER_nondet_int(void); int usb_autopm_get_interface_async(struct usb_interface *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: usb_autopm_get_interface_no_resume // with type: void usb_autopm_get_interface_no_resume(struct usb_interface *) // with return type: void void usb_autopm_get_interface_no_resume(struct usb_interface *arg0) { // Void type return; } // Function: usb_autopm_put_interface // with type: void usb_autopm_put_interface(struct usb_interface *) // with return type: void void usb_autopm_put_interface(struct usb_interface *arg0) { // Void type return; } // Function: usb_autopm_put_interface_async // with type: void usb_autopm_put_interface_async(struct usb_interface *) // with return type: void void usb_autopm_put_interface_async(struct usb_interface *arg0) { // Void type return; } // Function: usb_autopm_put_interface_no_suspend // with type: void usb_autopm_put_interface_no_suspend(struct usb_interface *) // with return type: void void usb_autopm_put_interface_no_suspend(struct usb_interface *arg0) { // Void type return; } // Function: usb_block_urb // with type: void usb_block_urb(struct urb *) // with return type: void void usb_block_urb(struct urb *arg0) { // Void type return; } // Function: usb_clear_halt // with type: int usb_clear_halt(struct usb_device *, int) // with return type: int int __VERIFIER_nondet_int(void); int usb_clear_halt(struct usb_device *arg0, int arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: usb_control_msg // with type: int usb_control_msg(struct usb_device *, unsigned int, __u8 , __u8 , __u16 , __u16 , void *, __u16 , int) // with return type: int int __VERIFIER_nondet_int(void); int usb_control_msg(struct usb_device *arg0, unsigned int arg1, __u8 arg2, __u8 arg3, __u16 arg4, __u16 arg5, void *arg6, __u16 arg7, int arg8) { // Simple type return __VERIFIER_nondet_int(); } // Function: usb_deregister // with type: void usb_deregister(struct usb_driver *) // with return type: void void usb_deregister(struct usb_driver *arg0) { // Void type return; } // Function: usb_deregister_dev // with type: void usb_deregister_dev(struct usb_interface *, struct usb_class_driver *) // with return type: void void usb_deregister_dev(struct usb_interface *arg0, struct usb_class_driver *arg1) { // Void type return; } // Function: usb_find_interface // with type: struct usb_interface *usb_find_interface(struct usb_driver *, int) // with return type: (struct usb_interface)* struct usb_interface *usb_find_interface(struct usb_driver *arg0, int arg1) { // Pointer type return ldv_malloc(sizeof(struct usb_interface)); } // Function: usb_free_coherent // with type: void usb_free_coherent(struct usb_device *, size_t , void *, dma_addr_t ) // with return type: void void usb_free_coherent(struct usb_device *arg0, size_t arg1, void *arg2, dma_addr_t arg3) { // Void type return; } // Function: usb_free_urb // with type: void usb_free_urb(struct urb *) // with return type: void void usb_free_urb(struct urb *arg0) { // Void type return; } // Function: usb_interrupt_msg // with type: int usb_interrupt_msg(struct usb_device *, unsigned int, void *, int, int *, int) // with return type: int int __VERIFIER_nondet_int(void); int usb_interrupt_msg(struct usb_device *arg0, unsigned int arg1, void *arg2, int arg3, int *arg4, int arg5) { // Simple type return __VERIFIER_nondet_int(); } // Function: usb_kill_urb // with type: void usb_kill_urb(struct urb *) // with return type: void void usb_kill_urb(struct urb *arg0) { // Void type return; } // Function: usb_queue_reset_device // with type: void usb_queue_reset_device(struct usb_interface *) // with return type: void void usb_queue_reset_device(struct usb_interface *arg0) { // Void type return; } // Function: usb_register_dev // with type: int usb_register_dev(struct usb_interface *, struct usb_class_driver *) // with return type: int int __VERIFIER_nondet_int(void); int usb_register_dev(struct usb_interface *arg0, struct usb_class_driver *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: usb_register_driver // with type: int usb_register_driver(struct usb_driver *, struct module *, const char *) // with return type: int int __VERIFIER_nondet_int(void); int usb_register_driver(struct usb_driver *arg0, struct module *arg1, const char *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: usb_string // with type: int usb_string(struct usb_device *, int, char *, size_t ) // with return type: int int __VERIFIER_nondet_int(void); int usb_string(struct usb_device *arg0, int arg1, char *arg2, size_t arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: usb_submit_urb // with type: int usb_submit_urb(struct urb *, gfp_t ) // with return type: int int __VERIFIER_nondet_int(void); int usb_submit_urb(struct urb *arg0, gfp_t arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: usb_unlink_urb // with type: int usb_unlink_urb(struct urb *) // with return type: int int __VERIFIER_nondet_int(void); int usb_unlink_urb(struct urb *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: usb_unpoison_urb // with type: void usb_unpoison_urb(struct urb *) // with return type: void void usb_unpoison_urb(struct urb *arg0) { // Void type return; } // Function: vfree // with type: void vfree(const void *) // with return type: void void vfree(const void *arg0) { // Void type return; } // Function: vzalloc // with type: void *vzalloc(unsigned long) // with return type: (void)* void *vzalloc(unsigned long arg0) { // Pointer type return ldv_malloc(0UL); } // Function: warn_slowpath_null // with type: void warn_slowpath_null(const char *, const int) // with return type: void void warn_slowpath_null(const char *arg0, const int arg1) { // Void type return; } // Function: autoremove_wake_function // with type: int autoremove_wake_function(wait_queue_t *, unsigned int, int, void *) // with return type: int int __VERIFIER_nondet_int(void); int autoremove_wake_function(wait_queue_t *arg0, unsigned int arg1, int arg2, void * arg3) { // Simple type return __VERIFIER_nondet_int(); }