// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_size_t // 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: __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: __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: __tasklet_schedule // with type: void __tasklet_schedule(struct tasklet_struct *) // with return type: void void __tasklet_schedule(struct tasklet_struct *arg0) { // 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_read_lock // with type: void _raw_read_lock(rwlock_t *) // with return type: void void _raw_read_lock(rwlock_t *arg0) { // Void type return; } // Function: _raw_read_unlock // with type: void _raw_read_unlock(rwlock_t *) // with return type: void void _raw_read_unlock(rwlock_t *arg0) { // Void type return; } // Function: _raw_spin_lock_bh // with type: void _raw_spin_lock_bh(raw_spinlock_t *) // with return type: void void _raw_spin_lock_bh(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_lock_irqsave // with type: unsigned long int _raw_spin_lock_irqsave(raw_spinlock_t *) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int _raw_spin_lock_irqsave(raw_spinlock_t *arg0) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: _raw_spin_trylock_bh // with type: int _raw_spin_trylock_bh(raw_spinlock_t *) // with return type: int int __VERIFIER_nondet_int(void); int _raw_spin_trylock_bh(raw_spinlock_t *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: _raw_spin_unlock_bh // with type: void _raw_spin_unlock_bh(raw_spinlock_t *) // with return type: void void _raw_spin_unlock_bh(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: _raw_write_lock_irq // with type: void _raw_write_lock_irq(rwlock_t *) // with return type: void void _raw_write_lock_irq(rwlock_t *arg0) { // Void type return; } // Function: _raw_write_unlock_irq // with type: void _raw_write_unlock_irq(rwlock_t *) // with return type: void void _raw_write_unlock_irq(rwlock_t *arg0) { // 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; } // Skip function: kfree // Skip function: malloc // Skip function: memcpy // Function: might_fault // with type: void might_fault() // with return type: void void might_fault() { // Void type return; } // Function: n_tty_ioctl_helper // with type: int n_tty_ioctl_helper(struct tty_struct *, struct file *, unsigned int, unsigned long) // with return type: int int __VERIFIER_nondet_int(void); int n_tty_ioctl_helper(struct tty_struct *arg0, struct file *arg1, unsigned int arg2, unsigned long arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: ppp_channel_index // with type: int ppp_channel_index(struct ppp_channel *) // with return type: int int __VERIFIER_nondet_int(void); int ppp_channel_index(struct ppp_channel *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: ppp_input // with type: void ppp_input(struct ppp_channel *, struct sk_buff *) // with return type: void void ppp_input(struct ppp_channel *arg0, struct sk_buff *arg1) { // Void type return; } // Function: ppp_input_error // with type: void ppp_input_error(struct ppp_channel *, int) // with return type: void void ppp_input_error(struct ppp_channel *arg0, int arg1) { // Void type return; } // Function: ppp_output_wakeup // with type: void ppp_output_wakeup(struct ppp_channel *) // with return type: void void ppp_output_wakeup(struct ppp_channel *arg0) { // Void type return; } // Function: ppp_register_channel // with type: int ppp_register_channel(struct ppp_channel *) // with return type: int int __VERIFIER_nondet_int(void); int ppp_register_channel(struct ppp_channel *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: ppp_unit_number // with type: int ppp_unit_number(struct ppp_channel *) // with return type: int int __VERIFIER_nondet_int(void); int ppp_unit_number(struct ppp_channel *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: ppp_unregister_channel // with type: void ppp_unregister_channel(struct ppp_channel *) // with return type: void void ppp_unregister_channel(struct ppp_channel *arg0) { // Void type return; } // Function: print_hex_dump // with type: void print_hex_dump(const char *, const char *, int, int, int, const void *, size_t , bool ) // with return type: void void print_hex_dump(const char *arg0, const char *arg1, int arg2, int arg3, int arg4, const void *arg5, size_t arg6, bool arg7) { // 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: skb_pull // with type: unsigned char *skb_pull(struct sk_buff *, unsigned int) // with return type: (unsigned char)* unsigned char *skb_pull(struct sk_buff *arg0, unsigned int arg1) { // Pointer type return ldv_malloc(sizeof(unsigned char)); } // Function: skb_push // with type: unsigned char *skb_push(struct sk_buff *, unsigned int) // with return type: (unsigned char)* unsigned char *skb_push(struct sk_buff *arg0, unsigned int arg1) { // Pointer type return ldv_malloc(sizeof(unsigned char)); } // Function: skb_put // with type: unsigned char *skb_put(struct sk_buff *, unsigned int) // with return type: (unsigned char)* unsigned char *skb_put(struct sk_buff *arg0, unsigned int arg1) { unsigned char *ret_val = arg0->data + arg0->tail; // a more precise implementation of skb_put would actually re-allocate memory // here arg0->tail += arg1; // Pointer type return ret_val; } // Function: skb_queue_purge // with type: void skb_queue_purge(struct sk_buff_head *) // with return type: void void skb_queue_purge(struct sk_buff_head *arg0) { // Void type return; } // Function: skb_queue_tail // with type: void skb_queue_tail(struct sk_buff_head *, struct sk_buff *) // with return type: void void skb_queue_tail(struct sk_buff_head *arg0, struct sk_buff *arg1) { // Void type return; } // Function: skb_trim // with type: void skb_trim(struct sk_buff *, unsigned int) // with return type: void void skb_trim(struct sk_buff *arg0, unsigned int arg1) { // Void type return; } // Function: tasklet_init // with type: void tasklet_init(struct tasklet_struct *, void (*)(unsigned long), unsigned long) // with return type: void void tasklet_init(struct tasklet_struct *arg0, void (*arg1)(unsigned long), unsigned long arg2) { // Void type return; } // Function: tasklet_kill // with type: void tasklet_kill(struct tasklet_struct *) // with return type: void void tasklet_kill(struct tasklet_struct *arg0) { // Void type return; } // Function: tty_mode_ioctl // with type: int tty_mode_ioctl(struct tty_struct *, struct file *, unsigned int, unsigned long) // with return type: int int __VERIFIER_nondet_int(void); int tty_mode_ioctl(struct tty_struct *arg0, struct file *arg1, unsigned int arg2, unsigned long arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: tty_register_ldisc // with type: int tty_register_ldisc(int, struct tty_ldisc_ops *) // with return type: int int __VERIFIER_nondet_int(void); int tty_register_ldisc(int arg0, struct tty_ldisc_ops *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_ldisc // with type: int tty_unregister_ldisc(int) // with return type: int int __VERIFIER_nondet_int(void); int tty_unregister_ldisc(int arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: tty_unthrottle // with type: void tty_unthrottle(struct tty_struct *) // with return type: void void tty_unthrottle(struct tty_struct *arg0) { // Void type return; } // 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; }