// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_uint // 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: 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: __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: __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: __tty_alloc_driver // with type: struct tty_driver *__tty_alloc_driver(unsigned int, struct module *, unsigned long) // with return type: (struct tty_driver)* struct tty_driver *__tty_alloc_driver(unsigned int arg0, struct module *arg1, unsigned long arg2) { // Pointer type return ldv_malloc(sizeof(struct tty_driver)); } // 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: 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_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_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; } // Function: add_wait_queue // with type: void add_wait_queue(wait_queue_head_t *, wait_queue_t *) // with return type: void void add_wait_queue(wait_queue_head_t *arg0, wait_queue_t *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: capable // with type: bool capable(int) // with return type: bool bool __VERIFIER_nondet_bool(void); bool capable(int arg0) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // 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: device_create_file // with type: int device_create_file(struct device *, const struct device_attribute *) // with return type: int int __VERIFIER_nondet_int(void); int device_create_file(struct device *arg0, const struct device_attribute *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: device_remove_file // with type: void device_remove_file(struct device *, const struct device_attribute *) // with return type: void void device_remove_file(struct device *arg0, const struct device_attribute *arg1) { // Void type return; } // Skip function: kfree // Function: kmem_cache_alloc // with type: void *kmem_cache_alloc(struct kmem_cache *, gfp_t ) // with return type: (void)* void *kmem_cache_alloc(struct kmem_cache *arg0, gfp_t arg1) { // Pointer type return ldv_malloc(0UL); } // Function: ldv_check_final_state // with type: void ldv_check_final_state() // with return type: void void ldv_check_final_state() { // Void type return; } // Function: ldv_initialize // with type: void ldv_initialize() // with return type: void void ldv_initialize() { // Void type return; } // Function: ldv_some_page // with type: struct page___0 *ldv_some_page() // with return type: (struct page___0)* struct page___0 *ldv_some_page() { // Pointer type return ldv_malloc(sizeof(struct page___0)); } // 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: might_fault // with type: void might_fault() // with return type: void void might_fault() { // Void type return; } // 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: 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: put_tty_driver // with type: void put_tty_driver(struct tty_driver *) // with return type: void void put_tty_driver(struct tty_driver *arg0) { // Void type return; } // 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: remove_wait_queue // with type: void remove_wait_queue(wait_queue_head_t *, wait_queue_t *) // with return type: void void remove_wait_queue(wait_queue_head_t *arg0, wait_queue_t *arg1) { // Void type return; } // Function: schedule // with type: void schedule() // with return type: void void schedule() { // Void type return; } // Skip function: sprintf // Function: tty_flip_buffer_push // with type: void tty_flip_buffer_push(struct tty_port *) // with return type: void void tty_flip_buffer_push(struct tty_port *arg0) { // Void type return; } // Function: tty_insert_flip_string_fixed_flag // with type: int tty_insert_flip_string_fixed_flag(struct tty_port *, const unsigned char *, char, size_t ) // with return type: int int __VERIFIER_nondet_int(void); int tty_insert_flip_string_fixed_flag(struct tty_port *arg0, const unsigned char *arg1, char arg2, size_t arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: tty_kref_put // with type: void tty_kref_put(struct tty_struct *) // with return type: void void tty_kref_put(struct tty_struct *arg0) { // Void type return; } // Function: tty_port_close // with type: void tty_port_close(struct tty_port *, struct tty_struct *, struct file *) // with return type: void void tty_port_close(struct tty_port *arg0, struct tty_struct *arg1, struct file *arg2) { // Void type return; } // Function: tty_port_hangup // with type: void tty_port_hangup(struct tty_port *) // with return type: void void tty_port_hangup(struct tty_port *arg0) { // Void type return; } // Function: tty_port_init // with type: void tty_port_init(struct tty_port *) // with return type: void void tty_port_init(struct tty_port *arg0) { // Void type return; } // Function: tty_port_open // with type: int tty_port_open(struct tty_port *, struct tty_struct *, struct file *) // with return type: int int __VERIFIER_nondet_int(void); int tty_port_open(struct tty_port *arg0, struct tty_struct *arg1, struct file *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: tty_port_put // with type: void tty_port_put(struct tty_port *) // with return type: void void tty_port_put(struct tty_port *arg0) { // Void type return; } // Function: tty_port_register_device // with type: struct device *tty_port_register_device(struct tty_port *, struct tty_driver *, unsigned int, struct device *) // with return type: (struct device)* struct device *tty_port_register_device(struct tty_port *arg0, struct tty_driver *arg1, unsigned int arg2, struct device *arg3) { // Pointer type return ldv_malloc(sizeof(struct device)); } // Function: tty_port_tty_get // with type: struct tty_struct *tty_port_tty_get(struct tty_port *) // with return type: (struct tty_struct)* struct tty_struct *tty_port_tty_get(struct tty_port *arg0) { // Pointer type return ldv_malloc(sizeof(struct tty_struct)); } // Function: tty_port_tty_hangup // with type: void tty_port_tty_hangup(struct tty_port *, bool ) // with return type: void void tty_port_tty_hangup(struct tty_port *arg0, bool arg1) { // Void type return; } // Function: tty_port_tty_wakeup // with type: void tty_port_tty_wakeup(struct tty_port *) // with return type: void void tty_port_tty_wakeup(struct tty_port *arg0) { // Void type return; } // Function: tty_register_driver // with type: int tty_register_driver(struct tty_driver *) // with return type: int int __VERIFIER_nondet_int(void); int tty_register_driver(struct tty_driver *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: tty_set_operations // with type: void tty_set_operations(struct tty_driver *, const struct tty_operations *) // with return type: void void tty_set_operations(struct tty_driver *arg0, const struct tty_operations *arg1) { // Void type return; } // Function: tty_standard_install // with type: int tty_standard_install(struct tty_driver *, struct tty_struct *) // with return type: int int __VERIFIER_nondet_int(void); int tty_standard_install(struct tty_driver *arg0, struct tty_struct *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: tty_termios_baud_rate // with type: speed_t tty_termios_baud_rate(struct ktermios *) // with return type: speed_t unsigned int __VERIFIER_nondet_uint(void); speed_t tty_termios_baud_rate(struct ktermios *arg0) { // Typedef type // Real type: unsigned int // Simple type return __VERIFIER_nondet_uint(); } // Function: tty_unregister_device // with type: void tty_unregister_device(struct tty_driver *, unsigned int) // with return type: void void tty_unregister_device(struct tty_driver *arg0, unsigned int arg1) { // Void type return; } // Function: tty_unregister_driver // with type: int tty_unregister_driver(struct tty_driver *) // with return type: int int __VERIFIER_nondet_int(void); int tty_unregister_driver(struct tty_driver *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: tty_vhangup // with type: void tty_vhangup(struct tty_struct *) // with return type: void void tty_vhangup(struct tty_struct *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_anchor_urb // with type: void usb_anchor_urb(struct urb *, struct usb_anchor *) // with return type: void void usb_anchor_urb(struct urb *arg0, struct usb_anchor *arg1) { // Void type return; } // 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_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_driver_claim_interface // with type: int usb_driver_claim_interface(struct usb_driver *, struct usb_interface *, void *) // with return type: int int __VERIFIER_nondet_int(void); int usb_driver_claim_interface(struct usb_driver *arg0, struct usb_interface *arg1, void *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: usb_driver_release_interface // with type: void usb_driver_release_interface(struct usb_driver *, struct usb_interface *) // with return type: void void usb_driver_release_interface(struct usb_driver *arg0, struct usb_interface *arg1) { // Void type return; } // 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_get_from_anchor // with type: struct urb *usb_get_from_anchor(struct usb_anchor *) // with return type: (struct urb)* struct urb *usb_get_from_anchor(struct usb_anchor *arg0) { // Pointer type return ldv_malloc(sizeof(struct urb)); } // Function: usb_get_intf // with type: struct usb_interface *usb_get_intf(struct usb_interface *) // with return type: (struct usb_interface)* struct usb_interface *usb_get_intf(struct usb_interface *arg0) { // Pointer type return ldv_malloc(sizeof(struct usb_interface)); } // 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_put_intf // with type: void usb_put_intf(struct usb_interface *) // with return type: void void usb_put_intf(struct usb_interface *arg0) { // Void type return; } // 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_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: default_wake_function // with type: int default_wake_function(wait_queue_t *, unsigned int, int, void *) // with return type: int int __VERIFIER_nondet_int(void); int default_wake_function(wait_queue_t *arg0, unsigned int arg1, int arg2, void *arg3) { // Simple type return __VERIFIER_nondet_int(); }