// Skip function: __VERIFIER_error // Skip function: __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: _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_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: 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; } // Function: atomic_notifier_chain_register // with type: int atomic_notifier_chain_register(struct atomic_notifier_head *, struct notifier_block *) // with return type: int int __VERIFIER_nondet_int(void); int atomic_notifier_chain_register(struct atomic_notifier_head *arg0, struct notifier_block *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: atomic_notifier_chain_unregister // with type: int atomic_notifier_chain_unregister(struct atomic_notifier_head *, struct notifier_block *) // with return type: int int __VERIFIER_nondet_int(void); int atomic_notifier_chain_unregister(struct atomic_notifier_head *arg0, struct notifier_block *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: complete // with type: void complete(struct completion *) // with return type: void void complete(struct completion *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: ipmi_create_user // with type: int ipmi_create_user(unsigned int, struct ipmi_user_hndl *, void *, ipmi_user_t **) // with return type: int int __VERIFIER_nondet_int(void); int ipmi_create_user(unsigned int arg0, struct ipmi_user_hndl *arg1, void *arg2, ipmi_user_t **arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: ipmi_destroy_user // with type: int ipmi_destroy_user(ipmi_user_t ) // with return type: int int __VERIFIER_nondet_int(void); int ipmi_destroy_user(ipmi_user_t arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: ipmi_free_recv_msg // with type: void ipmi_free_recv_msg(struct ipmi_recv_msg *) // with return type: void void ipmi_free_recv_msg(struct ipmi_recv_msg *arg0) { // Void type return; } // Function: ipmi_get_version // with type: void ipmi_get_version(ipmi_user_t , unsigned char *, unsigned char *) // with return type: void void ipmi_get_version(ipmi_user_t arg0, unsigned char *arg1, unsigned char *arg2) { // Void type return; } // Function: ipmi_poll_interface // with type: void ipmi_poll_interface(ipmi_user_t ) // with return type: void void ipmi_poll_interface(ipmi_user_t arg0) { // Void type return; } // Function: ipmi_request_supply_msgs // with type: int ipmi_request_supply_msgs(ipmi_user_t , struct ipmi_addr *, long, struct kernel_ipmi_msg *, void *, void *, struct ipmi_recv_msg *, int) // with return type: int int __VERIFIER_nondet_int(void); int ipmi_request_supply_msgs(ipmi_user_t arg0, struct ipmi_addr *arg1, long arg2, struct kernel_ipmi_msg *arg3, void *arg4, void *arg5, struct ipmi_recv_msg *arg6, int arg7) { // Simple type return __VERIFIER_nondet_int(); } // Function: ipmi_smi_watcher_register // with type: int ipmi_smi_watcher_register(struct ipmi_smi_watcher *) // with return type: int int __VERIFIER_nondet_int(void); int ipmi_smi_watcher_register(struct ipmi_smi_watcher *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: ipmi_smi_watcher_unregister // with type: int ipmi_smi_watcher_unregister(struct ipmi_smi_watcher *) // with return type: int int __VERIFIER_nondet_int(void); int ipmi_smi_watcher_unregister(struct ipmi_smi_watcher *arg0) { // Simple type return __VERIFIER_nondet_int(); } // 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_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_initialize // with type: void ldv_initialize() // with return type: void void ldv_initialize() { // Void type return; } // Function: ldv_undefined_int // with type: int ldv_undefined_int() // with return type: int int __VERIFIER_nondet_int(void); int ldv_undefined_int() { // Simple type return __VERIFIER_nondet_int(); } // 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: msleep // with type: void msleep(unsigned int) // with return type: void void msleep(unsigned int arg0) { // 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: panic // with type: void panic(const char *, ...) // with return type: void void panic(const char *arg0, ...) { // Void type return; } // Function: param_set_int // with type: int param_set_int(const char *, const struct kernel_param *) // with return type: int int __VERIFIER_nondet_int(void); int param_set_int(const char *arg0, const struct kernel_param *arg1) { // Simple type return __VERIFIER_nondet_int(); } // 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: register_die_notifier // with type: int register_die_notifier(struct notifier_block *) // with return type: int int __VERIFIER_nondet_int(void); int register_die_notifier(struct notifier_block *arg0) { // 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(); } // 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; } // Function: schedule_timeout_uninterruptible // with type: long int schedule_timeout_uninterruptible(long) // with return type: long int long __VERIFIER_nondet_long(void); long int schedule_timeout_uninterruptible(long arg0) { // Simple type return __VERIFIER_nondet_long(); } // Function: simple_strtoul // with type: unsigned long int simple_strtoul(const char *, char **, unsigned int) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int simple_strtoul(const char *arg0, char **arg1, unsigned int arg2) { // Simple type return __VERIFIER_nondet_ulong(); } extern _Bool __VERIFIER_nondet_bool(void) ; extern void *malloc(size_t) ; void *ldv_malloc(size_t size ) { if(__VERIFIER_nondet_bool()) return 0; return malloc(size); } // Skip function: strcmp // Skip function: strcpy // Function: strim // with type: char *strim(char *) // with return type: (char)* char *strim(char *arg0) { // Pointer type return ldv_malloc(sizeof(char)); } // Skip function: strlen // Skip function: strncpy // Function: unregister_die_notifier // with type: int unregister_die_notifier(struct notifier_block *) // with return type: int int __VERIFIER_nondet_int(void); int unregister_die_notifier(struct notifier_block *arg0) { // Simple type return __VERIFIER_nondet_int(); } // 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: wait_for_completion // with type: void wait_for_completion(struct completion *) // with return type: void void wait_for_completion(struct completion *arg0) { // Void type return; } // Function: warn_slowpath_fmt // with type: void warn_slowpath_fmt(const char *, const int, const char *, ...) // with return type: void void warn_slowpath_fmt(const char *arg0, const int arg1, const char *arg2, ...) { // Void type return; } // 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(); }