// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Function: __dynamic_pr_debug // with type: int __dynamic_pr_debug(struct _ddebug *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int __dynamic_pr_debug(struct _ddebug *arg0, const char *arg1, ...) { // Simple type return __VERIFIER_nondet_int(); } // 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: __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: _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: dev_crit // with type: int dev_crit(const struct device *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int dev_crit(const struct device *arg0, const char *arg1, ...) { // 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_get_drvdata // with type: void *dev_get_drvdata(const struct device *) // with return type: (void)* void *dev_get_drvdata(const struct device *arg0) { // Pointer type return ldv_malloc(0UL); } // Function: dev_set_drvdata // with type: int dev_set_drvdata(struct device *, void *) // with return type: int int __VERIFIER_nondet_int(void); int dev_set_drvdata(struct device *arg0, void *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; } // Function: hwmon_device_register // with type: struct device *hwmon_device_register(struct device *) // with return type: (struct device)* struct device *hwmon_device_register(struct device *arg0) { // Pointer type return ldv_malloc(sizeof(struct device)); } // Function: hwmon_device_unregister // with type: void hwmon_device_unregister(struct device *) // with return type: void void hwmon_device_unregister(struct device *arg0) { // Void type return; } // Function: i2c_new_dummy // with type: struct i2c_client *i2c_new_dummy(struct i2c_adapter *, u16 ) // with return type: (struct i2c_client)* struct i2c_client *i2c_new_dummy(struct i2c_adapter *arg0, u16 arg1) { // Pointer type return ldv_malloc(sizeof(struct i2c_client)); } // Function: i2c_smbus_read_byte_data // with type: s32 i2c_smbus_read_byte_data(const struct i2c_client *, u8 ) // with return type: s32 int __VERIFIER_nondet_int(void); s32 i2c_smbus_read_byte_data(const struct i2c_client *arg0, u8 arg1) { // Typedef type // Real type: int // Simple type return __VERIFIER_nondet_int(); } // Function: i2c_smbus_write_byte_data // with type: s32 i2c_smbus_write_byte_data(const struct i2c_client *, u8 , u8 ) // with return type: s32 int __VERIFIER_nondet_int(void); s32 i2c_smbus_write_byte_data(const struct i2c_client *arg0, u8 arg1, u8 arg2) { // Typedef type // Real type: int // Simple type return __VERIFIER_nondet_int(); } // Function: i2c_unregister_device // with type: void i2c_unregister_device(struct i2c_client *) // with return type: void void i2c_unregister_device(struct i2c_client *arg0) { // Void type return; } // Skip function: kfree // Function: kstrtoll // with type: int kstrtoll(const char *, unsigned int, long long *) // with return type: int int __VERIFIER_nondet_int(void); int kstrtoll(const char *arg0, unsigned int arg1, long long *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: kstrtoull // with type: int kstrtoull(const char *, unsigned int, unsigned long long *) // with return type: int int __VERIFIER_nondet_int(void); int kstrtoull(const char *arg0, unsigned int arg1, unsigned long long *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_check_return_value // with type: void ldv_check_return_value(int) // with return type: void void ldv_check_return_value(int arg0) { // Void type return; } // Function: ldv_check_return_value_probe // with type: void ldv_check_return_value_probe(int) // with return type: void void ldv_check_return_value_probe(int arg0) { // Void type return; } // Function: ldv_handler_precall // with type: void ldv_handler_precall() // with return type: void void ldv_handler_precall() { // Void type return; } // 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; } // Skip function: malloc // Function: might_fault // with type: void might_fault() // with return type: void void might_fault() { // Void type return; } // 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_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: register_reboot_notifier // with type: int register_reboot_notifier(struct notifier_block *) // with return type: int int __VERIFIER_nondet_int(void); int register_reboot_notifier(struct notifier_block *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Skip function: snprintf // Skip function: sprintf // 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(); } // Function: unregister_reboot_notifier // with type: int unregister_reboot_notifier(struct notifier_block *) // with return type: int int __VERIFIER_nondet_int(void); int unregister_reboot_notifier(struct notifier_block *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: vid_from_reg // with type: int vid_from_reg(int, u8 ) // with return type: int int __VERIFIER_nondet_int(void); int vid_from_reg(int arg0, u8 arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: vid_which_vrm // with type: u8 vid_which_vrm() // with return type: u8 unsigned char __VERIFIER_nondet_uchar(void); u8 vid_which_vrm() { // Typedef type // Real type: unsigned char // Simple type return __VERIFIER_nondet_uchar(); } // 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; }