// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_ulong // 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: __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: __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: __list_add_rcu // with type: void __list_add_rcu(struct list_head *, struct list_head *, struct list_head *) // with return type: void void __list_add_rcu(struct list_head *arg0, struct list_head *arg1, struct list_head *arg2) { // Void type return; } // Function: __list_del_entry // with type: void __list_del_entry(struct list_head *) // with return type: void void __list_del_entry(struct list_head *arg0) { // 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: __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_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: _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; } // Skip function: calloc // Function: cdev_add // with type: int cdev_add(struct cdev *, dev_t , unsigned int) // with return type: int int __VERIFIER_nondet_int(void); int cdev_add(struct cdev *arg0, dev_t arg1, unsigned int arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: cdev_del // with type: void cdev_del(struct cdev *) // with return type: void void cdev_del(struct cdev *arg0) { // Void type return; } // Function: cdev_init // with type: void cdev_init(struct cdev *, const struct file_operations *) // with return type: void void cdev_init(struct cdev *arg0, const struct file_operations *arg1) { // Void type return; } // Function: debug_lockdep_rcu_enabled // with type: int debug_lockdep_rcu_enabled() // with return type: int int __VERIFIER_nondet_int(void); int debug_lockdep_rcu_enabled() { // Simple type return __VERIFIER_nondet_int(); } // Function: dev_set_name // with type: int dev_set_name(struct device *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int dev_set_name(struct device *arg0, const char *arg1, ...) { // Simple type return __VERIFIER_nondet_int(); } // Function: device_add // with type: int device_add(struct device *) // with return type: int int __VERIFIER_nondet_int(void); int device_add(struct device *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: device_del // with type: void device_del(struct device *) // with return type: void void device_del(struct device *arg0) { // Void type return; } // Function: device_initialize // with type: void device_initialize(struct device *) // with return type: void void device_initialize(struct device *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: get_device // with type: struct device *get_device(struct device *) // with return type: (struct device)* struct device *get_device(struct device *arg0) { // Pointer type return ldv_malloc(sizeof(struct device)); } // Function: input_close_device // with type: void input_close_device(struct input_handle *) // with return type: void void input_close_device(struct input_handle *arg0) { // Void type return; } // Function: input_free_minor // with type: void input_free_minor(unsigned int) // with return type: void void input_free_minor(unsigned int arg0) { // Void type return; } // Function: input_get_new_minor // with type: int input_get_new_minor(int, unsigned int, bool ) // with return type: int int __VERIFIER_nondet_int(void); int input_get_new_minor(int arg0, unsigned int arg1, bool arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: input_open_device // with type: int input_open_device(struct input_handle *) // with return type: int int __VERIFIER_nondet_int(void); int input_open_device(struct input_handle *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: input_register_handle // with type: int input_register_handle(struct input_handle *) // with return type: int int __VERIFIER_nondet_int(void); int input_register_handle(struct input_handle *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: input_register_handler // with type: int input_register_handler(struct input_handler *) // with return type: int int __VERIFIER_nondet_int(void); int input_register_handler(struct input_handler *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: input_unregister_handle // with type: void input_unregister_handle(struct input_handle *) // with return type: void void input_unregister_handle(struct input_handle *arg0) { // Void type return; } // Function: input_unregister_handler // with type: void input_unregister_handler(struct input_handler *) // with return type: void void input_unregister_handler(struct input_handler *arg0) { // Void type return; } // 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_bind_1 // with type: int ldv_bind_1() // with return type: int int __VERIFIER_nondet_int(void); int ldv_bind_1() { // 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_1 // with type: int ldv_release_1() // with return type: int int __VERIFIER_nondet_int(void); int ldv_release_1() { // Simple type return __VERIFIER_nondet_int(); } // Function: lock_acquire // with type: void lock_acquire(struct lockdep_map *, unsigned int, int, int, int, struct lockdep_map *, unsigned long) // with return type: void void lock_acquire(struct lockdep_map *arg0, unsigned int arg1, int arg2, int arg3, int arg4, struct lockdep_map *arg5, unsigned long arg6) { // Void type return; } // Function: lock_release // with type: void lock_release(struct lockdep_map *, int, unsigned long) // with return type: void void lock_release(struct lockdep_map *arg0, int arg1, unsigned long arg2) { // 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; } // Function: lockdep_rcu_suspicious // with type: void lockdep_rcu_suspicious(const char *, const int, const char *) // with return type: void void lockdep_rcu_suspicious(const char *arg0, const int arg1, const char *arg2) { // Void type return; } // Skip function: malloc // Skip function: memcpy // Skip function: memset // Function: misc_deregister // with type: int misc_deregister(struct miscdevice *) // with return type: int int __VERIFIER_nondet_int(void); int misc_deregister(struct miscdevice *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: misc_register // with type: int misc_register(struct miscdevice *) // with return type: int int __VERIFIER_nondet_int(void); int misc_register(struct miscdevice *arg0) { // Simple type return __VERIFIER_nondet_int(); } // 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: nonseekable_open // with type: int nonseekable_open(struct inode *, struct file *) // with return type: int int __VERIFIER_nondet_int(void); int nonseekable_open(struct inode *arg0, struct file *arg1) { // Simple type return __VERIFIER_nondet_int(); } // 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_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: put_device // with type: void put_device(struct device *) // with return type: void void put_device(struct device *arg0) { // Void type return; } // Function: rcu_is_watching // with type: bool rcu_is_watching() // with return type: bool bool __VERIFIER_nondet_bool(void); bool rcu_is_watching() { // 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: synchronize_sched // with type: void synchronize_sched() // with return type: void void synchronize_sched() { // Void type return; }