// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Function: __alloc_skb // with type: struct sk_buff *__alloc_skb(unsigned int, gfp_t , int, int) // with return type: (struct sk_buff)* struct sk_buff *__alloc_skb(unsigned int arg0, gfp_t arg1, int arg2, int arg3) { // Pointer type struct sk_buff *skb = ldv_malloc(sizeof(struct sk_buff)); if(skb) { skb->head = ldv_malloc(arg0); skb->data = skb->head; skb->tail = 0; } return skb; } // Function: __alloc_workqueue_key // with type: struct workqueue_struct *__alloc_workqueue_key(const char *, unsigned int, int, struct lock_class_key *, const char *, ...) // with return type: (struct workqueue_struct)* struct workqueue_struct *__alloc_workqueue_key(const char *arg0, unsigned int arg1, int arg2, struct lock_class_key *arg3, const char *arg4, ...) { // Pointer type return ldv_malloc(0UL); } // Function: __const_udelay // with type: void __const_udelay(unsigned long) // with return type: void void __const_udelay(unsigned long arg0) { // Void type return; } // 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: __get_free_pages // with type: unsigned long int __get_free_pages(gfp_t , unsigned int) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int __get_free_pages(gfp_t arg0, unsigned int arg1) { // Simple type return __VERIFIER_nondet_ulong(); } // 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: __ip_dev_find // with type: struct net_device *__ip_dev_find(struct net *, __be32 , bool ) // with return type: (struct net_device)* struct net_device *__ip_dev_find(struct net *arg0, __be32 arg1, bool arg2) { // Pointer type return ldv_malloc(sizeof(struct net_device)); } // Function: __kfifo_alloc // with type: int __kfifo_alloc(struct __kfifo *, unsigned int, size_t , gfp_t ) // with return type: int int __VERIFIER_nondet_int(void); int __kfifo_alloc(struct __kfifo *arg0, unsigned int arg1, size_t arg2, gfp_t arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: __kfifo_free // with type: void __kfifo_free(struct __kfifo *) // with return type: void void __kfifo_free(struct __kfifo *arg0) { // Void type return; } // Function: __kfifo_in // with type: unsigned int __kfifo_in(struct __kfifo *, const void *, unsigned int) // with return type: unsigned int unsigned int __VERIFIER_nondet_uint(void); unsigned int __kfifo_in(struct __kfifo *arg0, const void *arg1, unsigned int arg2) { // Simple type return __VERIFIER_nondet_uint(); } // Function: __kfifo_in_r // with type: unsigned int __kfifo_in_r(struct __kfifo *, const void *, unsigned int, size_t ) // with return type: unsigned int unsigned int __VERIFIER_nondet_uint(void); unsigned int __kfifo_in_r(struct __kfifo *arg0, const void *arg1, unsigned int arg2, size_t arg3) { // Simple type return __VERIFIER_nondet_uint(); } // Function: __kfifo_out // with type: unsigned int __kfifo_out(struct __kfifo *, void *, unsigned int) // with return type: unsigned int unsigned int __VERIFIER_nondet_uint(void); unsigned int __kfifo_out(struct __kfifo *arg0, void *arg1, unsigned int arg2) { // Simple type return __VERIFIER_nondet_uint(); } // Function: __kfifo_out_r // with type: unsigned int __kfifo_out_r(struct __kfifo *, void *, unsigned int, size_t ) // with return type: unsigned int unsigned int __VERIFIER_nondet_uint(void); unsigned int __kfifo_out_r(struct __kfifo *arg0, void *arg1, unsigned int arg2, size_t arg3) { // Simple type return __VERIFIER_nondet_uint(); } // 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_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_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: __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: __phys_addr // with type: unsigned long int __phys_addr(unsigned long) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int __phys_addr(unsigned long arg0) { // Simple type return __VERIFIER_nondet_ulong(); } // 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_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_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_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_timer // with type: void add_timer(struct timer_list *) // with return type: void void add_timer(struct timer_list *arg0) { // Void type return; } // Function: cancel_delayed_work_sync // with type: bool cancel_delayed_work_sync(struct delayed_work *) // with return type: bool bool __VERIFIER_nondet_bool(void); bool cancel_delayed_work_sync(struct delayed_work *arg0) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: cxgb3_alloc_atid // with type: int cxgb3_alloc_atid(struct t3cdev *, struct cxgb3_client *, void *) // with return type: int int __VERIFIER_nondet_int(void); int cxgb3_alloc_atid(struct t3cdev *arg0, struct cxgb3_client *arg1, void *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: cxgb3_alloc_stid // with type: int cxgb3_alloc_stid(struct t3cdev *, struct cxgb3_client *, void *) // with return type: int int __VERIFIER_nondet_int(void); int cxgb3_alloc_stid(struct t3cdev *arg0, struct cxgb3_client *arg1, void *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: cxgb3_free_atid // with type: void *cxgb3_free_atid(struct t3cdev *, int) // with return type: (void)* void *cxgb3_free_atid(struct t3cdev *arg0, int arg1) { // Pointer type return ldv_malloc(0UL); } // Function: cxgb3_free_stid // with type: void cxgb3_free_stid(struct t3cdev *, int) // with return type: void void cxgb3_free_stid(struct t3cdev *arg0, int arg1) { // Void type return; } // Function: cxgb3_insert_tid // with type: void cxgb3_insert_tid(struct t3cdev *, struct cxgb3_client *, void *, unsigned int) // with return type: void void cxgb3_insert_tid(struct t3cdev *arg0, struct cxgb3_client *arg1, void *arg2, unsigned int arg3) { // Void type return; } // Function: cxgb3_ofld_send // with type: int cxgb3_ofld_send(struct t3cdev *, struct sk_buff *) // with return type: int int __VERIFIER_nondet_int(void); int cxgb3_ofld_send(struct t3cdev *arg0, struct sk_buff *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: cxgb3_register_client // with type: void cxgb3_register_client(struct cxgb3_client *) // with return type: void void cxgb3_register_client(struct cxgb3_client *arg0) { // Void type return; } // Function: cxgb3_remove_tid // with type: void cxgb3_remove_tid(struct t3cdev *, void *, unsigned int) // with return type: void void cxgb3_remove_tid(struct t3cdev *arg0, void *arg1, unsigned int arg2) { // Void type return; } // Function: cxgb3_unregister_client // with type: void cxgb3_unregister_client(struct cxgb3_client *) // with return type: void void cxgb3_unregister_client(struct cxgb3_client *arg0) { // Void type return; } // Function: debug_dma_alloc_coherent // with type: void debug_dma_alloc_coherent(struct device *, size_t , dma_addr_t , void *) // with return type: void void debug_dma_alloc_coherent(struct device *arg0, size_t arg1, dma_addr_t arg2, void *arg3) { // Void type return; } // Function: debug_dma_free_coherent // with type: void debug_dma_free_coherent(struct device *, size_t , void *, dma_addr_t ) // with return type: void void debug_dma_free_coherent(struct device *arg0, size_t arg1, void *arg2, dma_addr_t arg3) { // 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: del_timer_sync // with type: int del_timer_sync(struct timer_list *) // with return type: int int __VERIFIER_nondet_int(void); int del_timer_sync(struct timer_list *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: destroy_workqueue // with type: void destroy_workqueue(struct workqueue_struct *) // with return type: void void destroy_workqueue(struct workqueue_struct *arg0) { // Void type return; } // Function: dev2t3cdev // with type: struct t3cdev *dev2t3cdev(struct net_device *) // with return type: (struct t3cdev)* struct t3cdev *dev2t3cdev(struct net_device *arg0) { // Pointer type return ldv_malloc(sizeof(struct t3cdev)); } // Function: dev_get_by_name // with type: struct net_device *dev_get_by_name(struct net *, const char *) // with return type: (struct net_device)* struct net_device *dev_get_by_name(struct net *arg0, const char *arg1) { // Pointer type return ldv_malloc(sizeof(struct net_device)); } // Function: dev_kfree_skb_irq // with type: void dev_kfree_skb_irq(struct sk_buff *) // with return type: void void dev_kfree_skb_irq(struct sk_buff *arg0) { // Void type return; } // 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: dst_release // with type: void dst_release(struct dst_entry *) // with return type: void void dst_release(struct dst_entry *arg0) { // Void type return; } // 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: flush_workqueue // with type: void flush_workqueue(struct workqueue_struct *) // with return type: void void flush_workqueue(struct workqueue_struct *arg0) { // Void type return; } // Function: free_pages // with type: void free_pages(unsigned long, unsigned int) // with return type: void void free_pages(unsigned long arg0, unsigned int arg1) { // Void type return; } // Function: gen_pool_add_virt // with type: int gen_pool_add_virt(struct gen_pool *, unsigned long, phys_addr_t , size_t , int) // with return type: int int __VERIFIER_nondet_int(void); int gen_pool_add_virt(struct gen_pool *arg0, unsigned long arg1, phys_addr_t arg2, size_t arg3, int arg4) { // Simple type return __VERIFIER_nondet_int(); } // Function: gen_pool_alloc // with type: unsigned long int gen_pool_alloc(struct gen_pool *, size_t ) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int gen_pool_alloc(struct gen_pool *arg0, size_t arg1) { // Simple type return __VERIFIER_nondet_ulong(); } // Function: gen_pool_create // with type: struct gen_pool *gen_pool_create(int, int) // with return type: (struct gen_pool)* struct gen_pool *gen_pool_create(int arg0, int arg1) { // Pointer type return ldv_malloc(sizeof(struct gen_pool)); } // Function: gen_pool_destroy // with type: void gen_pool_destroy(struct gen_pool *) // with return type: void void gen_pool_destroy(struct gen_pool *arg0) { // Void type return; } // Function: gen_pool_free // with type: void gen_pool_free(struct gen_pool *, unsigned long, size_t ) // with return type: void void gen_pool_free(struct gen_pool *arg0, unsigned long arg1, size_t arg2) { // Void type return; } // Function: get_random_bytes // with type: void get_random_bytes(void *, int) // with return type: void void get_random_bytes(void *arg0, int arg1) { // Void type return; } // Function: ib_alloc_device // with type: struct ib_device *ib_alloc_device(size_t ) // with return type: (struct ib_device)* struct ib_device *ib_alloc_device(size_t arg0) { // Pointer type return ldv_malloc(sizeof(struct ib_device)); } // Function: ib_dealloc_device // with type: void ib_dealloc_device(struct ib_device *) // with return type: void void ib_dealloc_device(struct ib_device *arg0) { // Void type return; } // Function: ib_dispatch_event // with type: void ib_dispatch_event(struct ib_event *) // with return type: void void ib_dispatch_event(struct ib_event *arg0) { // Void type return; } // Function: ib_register_device // with type: int ib_register_device(struct ib_device *, int (*)(struct ib_device *, u8 , struct kobject *)) // with return type: int int __VERIFIER_nondet_int(void); int ib_register_device(struct ib_device *arg0, int (*arg1)(struct ib_device *, u8 , struct kobject *)) { // Simple type return __VERIFIER_nondet_int(); } // Function: ib_umem_get // with type: struct ib_umem *ib_umem_get(struct ib_ucontext *, unsigned long, size_t , int, int) // with return type: (struct ib_umem)* struct ib_umem *ib_umem_get(struct ib_ucontext *arg0, unsigned long arg1, size_t arg2, int arg3, int arg4) { // Pointer type return ldv_malloc(sizeof(struct ib_umem)); } // Function: ib_umem_release // with type: void ib_umem_release(struct ib_umem *) // with return type: void void ib_umem_release(struct ib_umem *arg0) { // Void type return; } // Function: ib_unregister_device // with type: void ib_unregister_device(struct ib_device *) // with return type: void void ib_unregister_device(struct ib_device *arg0) { // Void type return; } // Function: idr_destroy // with type: void idr_destroy(struct idr *) // with return type: void void idr_destroy(struct idr *arg0) { // Void type return; } // Function: idr_find // with type: void *idr_find(struct idr *, int) // with return type: (void)* void *idr_find(struct idr *arg0, int arg1) { // Pointer type return ldv_malloc(0UL); } // Function: idr_for_each // with type: int idr_for_each(struct idr *, int (*)(int, void *, void *), void *) // with return type: int int __VERIFIER_nondet_int(void); int idr_for_each(struct idr *arg0, int (*arg1)(int, void *, void *), void *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: idr_get_new_above // with type: int idr_get_new_above(struct idr *, void *, int, int *) // with return type: int int __VERIFIER_nondet_int(void); int idr_get_new_above(struct idr *arg0, void *arg1, int arg2, int *arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: idr_init // with type: void idr_init(struct idr *) // with return type: void void idr_init(struct idr *arg0) { // Void type return; } // Function: idr_pre_get // with type: int idr_pre_get(struct idr *, gfp_t ) // with return type: int int __VERIFIER_nondet_int(void); int idr_pre_get(struct idr *arg0, gfp_t arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: idr_remove // with type: void idr_remove(struct idr *, int) // with return type: void void idr_remove(struct idr *arg0, int arg1) { // Void type return; } // Function: in_dev_finish_destroy // with type: void in_dev_finish_destroy(struct in_device *) // with return type: void void in_dev_finish_destroy(struct in_device *arg0) { // Void type return; } // Function: init_timer_key // with type: void init_timer_key(struct timer_list *, unsigned int, const char *, struct lock_class_key *) // with return type: void void init_timer_key(struct timer_list *arg0, unsigned int arg1, const char *arg2, struct lock_class_key *arg3) { // Void type return; } // Function: ip_route_output_flow // with type: struct rtable *ip_route_output_flow(struct net *, struct flowi4 *, struct sock *) // with return type: (struct rtable)* struct rtable *ip_route_output_flow(struct net *arg0, struct flowi4 *arg1, struct sock *arg2) { // Pointer type return ldv_malloc(sizeof(struct rtable)); } // Skip function: kfree // Function: kfree_skb // with type: void kfree_skb(struct sk_buff *) // with return type: void void kfree_skb(struct sk_buff *arg0) { // 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; } // 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_is_held // with type: int lock_is_held(struct lockdep_map *) // with return type: int int __VERIFIER_nondet_int(void); int lock_is_held(struct lockdep_map *arg0) { // Simple type return __VERIFIER_nondet_int(); } // 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: 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 // 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: prandom_u32 // with type: u32 prandom_u32() // with return type: u32 unsigned int __VERIFIER_nondet_uint(void); u32 prandom_u32() { // Typedef type // Real type: unsigned int // Simple type return __VERIFIER_nondet_uint(); } // Function: prepare_to_wait // with type: void prepare_to_wait(wait_queue_head_t *, wait_queue_t *, int) // with return type: void void prepare_to_wait(wait_queue_head_t *arg0, wait_queue_t *arg1, int arg2) { // 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: queue_work // with type: bool queue_work(struct workqueue_struct *, struct work_struct *) // with return type: bool bool __VERIFIER_nondet_bool(void); bool queue_work(struct workqueue_struct *arg0, struct work_struct *arg1) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: rcu_is_cpu_idle // with type: int rcu_is_cpu_idle() // with return type: int int __VERIFIER_nondet_int(void); int rcu_is_cpu_idle() { // Simple type return __VERIFIER_nondet_int(); } // Function: rcu_lockdep_current_cpu_online // with type: bool rcu_lockdep_current_cpu_online() // with return type: bool bool __VERIFIER_nondet_bool(void); bool rcu_lockdep_current_cpu_online() { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: remap_pfn_range // with type: int remap_pfn_range(struct vm_area_struct *, unsigned long, unsigned long, unsigned long, pgprot_t ) // with return type: int int __VERIFIER_nondet_int(void); int remap_pfn_range(struct vm_area_struct *arg0, unsigned long arg1, unsigned long arg2, unsigned long arg3, pgprot_t arg4) { // Simple type return __VERIFIER_nondet_int(); } // Function: schedule // with type: void schedule() // with return type: void void schedule() { // Void type return; } // Function: schedule_delayed_work // with type: bool schedule_delayed_work(struct delayed_work *, unsigned long) // with return type: bool bool __VERIFIER_nondet_bool(void); bool schedule_delayed_work(struct delayed_work *arg0, unsigned long arg1) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: security_sk_classify_flow // with type: void security_sk_classify_flow(struct sock *, struct flowi *) // with return type: void void security_sk_classify_flow(struct sock *arg0, struct flowi *arg1) { // Void type return; } // Function: skb_dequeue // with type: struct sk_buff *skb_dequeue(struct sk_buff_head *) // with return type: (struct sk_buff)* struct sk_buff *skb_dequeue(struct sk_buff_head *arg0) { // Pointer type return ldv_malloc(sizeof(struct sk_buff)); } // 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_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; } // Skip function: sprintf // Skip function: sscanf // Skip function: strcmp // 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(); } // Skip function: strlen // Skip function: strncpy // Function: strsep // with type: char *strsep(char **, const char *) // with return type: (char)* char *strsep(char **arg0, const char *arg1) { // Pointer type return ldv_malloc(sizeof(char)); } // Function: synchronize_net // with type: void synchronize_net() // with return type: void void synchronize_net() { // Void type return; } // Function: t3_l2e_free // with type: void t3_l2e_free(struct l2t_data *, struct l2t_entry *) // with return type: void void t3_l2e_free(struct l2t_data *arg0, struct l2t_entry *arg1) { // Void type return; } // Function: t3_l2t_get // with type: struct l2t_entry *t3_l2t_get(struct t3cdev *, struct dst_entry *, struct net_device *, const void *) // with return type: (struct l2t_entry)* struct l2t_entry *t3_l2t_get(struct t3cdev *arg0, struct dst_entry *arg1, struct net_device *arg2, const void *arg3) { // Pointer type return ldv_malloc(sizeof(struct l2t_entry)); } // Function: t3_l2t_send_event // with type: void t3_l2t_send_event(struct t3cdev *, struct l2t_entry *) // with return type: void void t3_l2t_send_event(struct t3cdev *arg0, struct l2t_entry *arg1) { // Void type return; } // Function: t3_l2t_send_slow // with type: int t3_l2t_send_slow(struct t3cdev *, struct sk_buff *, struct l2t_entry *) // with return type: int int __VERIFIER_nondet_int(void); int t3_l2t_send_slow(struct t3cdev *arg0, struct sk_buff *arg1, struct l2t_entry *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: t3_register_cpl_handler // with type: void t3_register_cpl_handler(unsigned int, int (*)(struct t3cdev *, struct sk_buff *)) // with return type: void void t3_register_cpl_handler(unsigned int arg0, int (*arg1)(struct t3cdev *, struct sk_buff *)) { // Void type return; } // Function: usecs_to_jiffies // with type: unsigned long int usecs_to_jiffies(const unsigned int) // with return type: unsigned long int unsigned long __VERIFIER_nondet_ulong(void); unsigned long int usecs_to_jiffies(const unsigned int arg0) { // Simple type return __VERIFIER_nondet_ulong(); } // 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: 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; }