// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_ulong // Function: ___ratelimit // with type: int ___ratelimit(struct ratelimit_state *, const char *) // with return type: int int __VERIFIER_nondet_int(void); int ___ratelimit(struct ratelimit_state *arg0, const char *arg1) { // Simple type return __VERIFIER_nondet_int(); } // 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: __dynamic_dev_dbg // with type: int __dynamic_dev_dbg(struct _ddebug *, const struct device *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int __dynamic_dev_dbg(struct _ddebug *arg0, const struct device *arg1, const char *arg2, ...) { // Simple type return __VERIFIER_nondet_int(); } // 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: __ldv_spin_lock // with type: void __ldv_spin_lock(spinlock_t *) // with return type: void void __ldv_spin_lock(spinlock_t *arg0) { // Void type return; } // 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: _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: _dev_info // with type: int _dev_info(const struct device *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int _dev_info(const struct device *arg0, const char *arg1, ...) { // Simple type return __VERIFIER_nondet_int(); } // 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: complete // with type: void complete(struct completion *) // with return type: void void complete(struct completion *arg0) { // Void type return; } // Function: complete_all // with type: void complete_all(struct completion *) // with return type: void void complete_all(struct completion *arg0) { // Void type return; } // 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: int dev_err(const struct device *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int dev_err(const struct device *arg0, const char *arg1, ...) { // Simple type return __VERIFIER_nondet_int(); } // Function: dev_warn // with type: int dev_warn(const struct device *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int dev_warn(const struct device *arg0, const char *arg1, ...) { // Simple type return __VERIFIER_nondet_int(); } // Function: do_gettimeofday // with type: void do_gettimeofday(struct timeval *) // with return type: void void do_gettimeofday(struct timeval *arg0) { // Void type return; } // Skip function: free // Function: init_timer_key // with type: void init_timer_key(struct timer_list *, unsigned int, const char *, struct lock_class_key *) // with return type: void void init_timer_key(struct timer_list *arg0, unsigned int arg1, const char *arg2, struct lock_class_key *arg3) { // Void type return; } // Function: input_event // with type: void input_event(struct input_dev *, unsigned int, unsigned int, int) // with return type: void void input_event(struct input_dev *arg0, unsigned int arg1, unsigned int arg2, int arg3) { // Void type return; } // Function: input_free_device // with type: void input_free_device(struct input_dev *) // with return type: void void input_free_device(struct input_dev *arg0) { // Void type return; } // Function: input_register_device // with type: int input_register_device(struct input_dev *) // with return type: int int __VERIFIER_nondet_int(void); int input_register_device(struct input_dev *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: input_set_abs_params // with type: void input_set_abs_params(struct input_dev *, unsigned int, int, int, int, int) // with return type: void void input_set_abs_params(struct input_dev *arg0, unsigned int arg1, int arg2, int arg3, int arg4, int arg5) { // Void type return; } // Function: input_unregister_device // with type: void input_unregister_device(struct input_dev *) // with return type: void void input_unregister_device(struct input_dev *arg0) { // Void type return; } // Skip function: kfree // Function: ldv_after_alloc // with type: void ldv_after_alloc(void *) // with return type: void void ldv_after_alloc(void *arg0) { // Void type return; } // Function: ldv_assert // with type: void ldv_assert(const char *, int) // with return type: void void ldv_assert(const char *arg0, int arg1) { // Void type return; } // Function: ldv_initialize // with type: void ldv_initialize() // with return type: void void ldv_initialize() { // Void type return; } // Function: ldv_pre_probe // with type: void ldv_pre_probe() // with return type: void void ldv_pre_probe() { // Void type return; } // Function: ldv_pre_usb_register_driver // with type: int ldv_pre_usb_register_driver() // with return type: int int __VERIFIER_nondet_int(void); int ldv_pre_usb_register_driver() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_switch_to_interrupt_context // with type: void ldv_switch_to_interrupt_context() // with return type: void void ldv_switch_to_interrupt_context() { // Void type return; } // Function: ldv_switch_to_process_context // with type: void ldv_switch_to_process_context() // with return type: void void ldv_switch_to_process_context() { // Void type return; } // Skip function: malloc // Skip function: memcpy // Skip function: memset // Function: might_fault // with type: void might_fault() // with return type: void void might_fault() { // Void type return; } // 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: 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_lock_nested // with type: void mutex_lock_nested(struct mutex *, unsigned int) // with return type: void void mutex_lock_nested(struct mutex *arg0, unsigned int arg1) { // Void type return; } // 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: 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: rc_allocate_device // with type: struct rc_dev *rc_allocate_device() // with return type: (struct rc_dev)* struct rc_dev *rc_allocate_device() { // Pointer type return ldv_malloc(sizeof(struct rc_dev)); } // Function: rc_free_device // with type: void rc_free_device(struct rc_dev *) // with return type: void void rc_free_device(struct rc_dev *arg0) { // Void type return; } // Function: rc_g_keycode_from_table // with type: u32 rc_g_keycode_from_table(struct rc_dev *, u32 ) // with return type: u32 unsigned int __VERIFIER_nondet_uint(void); u32 rc_g_keycode_from_table(struct rc_dev *arg0, u32 arg1) { // Typedef type // Real type: unsigned int // Simple type return __VERIFIER_nondet_uint(); } // Function: rc_keydown // with type: void rc_keydown(struct rc_dev *, int, u8 ) // with return type: void void rc_keydown(struct rc_dev *arg0, int arg1, u8 arg2) { // Void type return; } // Function: rc_keyup // with type: void rc_keyup(struct rc_dev *) // with return type: void void rc_keyup(struct rc_dev *arg0) { // Void type return; } // Function: rc_register_device // with type: int rc_register_device(struct rc_dev *) // with return type: int int __VERIFIER_nondet_int(void); int rc_register_device(struct rc_dev *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: rc_unregister_device // with type: void rc_unregister_device(struct rc_dev *) // with return type: void void rc_unregister_device(struct rc_dev *arg0) { // 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 // Skip function: strcpy // 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(); } // Skip function: strlen // Function: sysfs_create_group // with type: int sysfs_create_group(struct kobject *, const struct attribute_group *) // with return type: int int __VERIFIER_nondet_int(void); int sysfs_create_group(struct kobject *arg0, const struct attribute_group *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: sysfs_remove_group // with type: void sysfs_remove_group(struct kobject *, const struct attribute_group *) // with return type: void void sysfs_remove_group(struct kobject *arg0, const struct attribute_group *arg1) { // Void type return; } // 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_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_get_dev // with type: struct usb_device *usb_get_dev(struct usb_device *) // with return type: (struct usb_device)* struct usb_device *usb_get_dev(struct usb_device *arg0) { // Pointer type return ldv_malloc(sizeof(struct usb_device)); } // Function: usb_ifnum_to_if // with type: struct usb_interface *usb_ifnum_to_if(const struct usb_device *, unsigned int) // with return type: (struct usb_interface)* struct usb_interface *usb_ifnum_to_if(const struct usb_device *arg0, unsigned int arg1) { // Pointer type return ldv_malloc(sizeof(struct usb_interface)); } // 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_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: wait_for_completion_interruptible // with type: int wait_for_completion_interruptible(struct completion *) // with return type: int int __VERIFIER_nondet_int(void); int wait_for_completion_interruptible(struct completion *arg0) { // Simple type return __VERIFIER_nondet_int(); }