// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_u32 // Skip function: __VERIFIER_nondet_ulong // 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: __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: __netdev_alloc_skb // with type: struct sk_buff *__netdev_alloc_skb(struct net_device *, unsigned int, gfp_t ) // with return type: (struct sk_buff)* struct sk_buff *__netdev_alloc_skb(struct net_device *arg0, unsigned int arg1, gfp_t arg2) { // Pointer type struct sk_buff *skb = ldv_malloc(sizeof(struct sk_buff)); if(skb) { skb->dev = arg0; skb->head = ldv_malloc(arg1); skb->data = skb->head; skb->tail = 0; } return skb; } // Function: __qdisc_calculate_pkt_len // with type: void __qdisc_calculate_pkt_len(struct sk_buff *, const struct qdisc_size_table *) // with return type: void void __qdisc_calculate_pkt_len(struct sk_buff *arg0, const struct qdisc_size_table *arg1) { // 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; } // Skip function: calloc // Function: consume_skb // with type: void consume_skb(struct sk_buff *) // with return type: void void consume_skb(struct sk_buff *arg0) { // 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: fput // with type: void fput(struct file *) // with return type: void void fput(struct file *arg0) { // Void type return; } // Function: gnet_stats_copy_basic // with type: int gnet_stats_copy_basic(struct gnet_dump *, struct gnet_stats_basic_packed *) // with return type: int int __VERIFIER_nondet_int(void); int gnet_stats_copy_basic(struct gnet_dump *arg0, struct gnet_stats_basic_packed *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: gnet_stats_copy_queue // with type: int gnet_stats_copy_queue(struct gnet_dump *, struct gnet_stats_queue *) // with return type: int int __VERIFIER_nondet_int(void); int gnet_stats_copy_queue(struct gnet_dump *arg0, struct gnet_stats_queue *arg1) { // Simple type return __VERIFIER_nondet_int(); } // 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: kmem_cache_alloc // with type: void *kmem_cache_alloc(struct kmem_cache *, gfp_t ) // with return type: (void)* void *kmem_cache_alloc(struct kmem_cache *arg0, gfp_t arg1) { // Pointer type return ldv_malloc(0UL); } // Function: ldv_check_final_state // with type: void ldv_check_final_state() // with return type: void void ldv_check_final_state() { // Void type return; } // Function: ldv_initialize // with type: void ldv_initialize() // with return type: void void ldv_initialize() { // Void type return; } // Function: ldv_probe_2 // with type: int ldv_probe_2() // with return type: int int __VERIFIER_nondet_int(void); int ldv_probe_2() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_setup_1 // with type: int ldv_setup_1() // with return type: int int __VERIFIER_nondet_int(void); int ldv_setup_1() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_some_page // with type: struct page___0 *ldv_some_page() // with return type: (struct page___0)* struct page___0 *ldv_some_page() { // Pointer type return ldv_malloc(sizeof(struct page___0)); } // 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: nla_parse // with type: int nla_parse(struct nlattr **, int, const struct nlattr *, int, const struct nla_policy *) // with return type: int int __VERIFIER_nondet_int(void); int nla_parse(struct nlattr **arg0, int arg1, const struct nlattr *arg2, int arg3, const struct nla_policy *arg4) { // Simple type return __VERIFIER_nondet_int(); } // Function: nla_put // with type: int nla_put(struct sk_buff *, int, int, const void *) // with return type: int int __VERIFIER_nondet_int(void); int nla_put(struct sk_buff *arg0, int arg1, int arg2, const void *arg3) { // 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: pskb_expand_head // with type: int pskb_expand_head(struct sk_buff *, int, int, gfp_t ) // with return type: int int __VERIFIER_nondet_int(void); int pskb_expand_head(struct sk_buff *arg0, int arg1, int arg2, gfp_t arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: qdisc_create_dflt // with type: struct Qdisc *qdisc_create_dflt(struct netdev_queue *, const struct Qdisc_ops *, u32 ) // with return type: (struct Qdisc)* struct Qdisc *qdisc_create_dflt(struct netdev_queue *arg0, const struct Qdisc_ops *arg1, u32 arg2) { // Pointer type return ldv_malloc(sizeof(struct Qdisc)); } // Function: qdisc_destroy // with type: void qdisc_destroy(struct Qdisc *) // with return type: void void qdisc_destroy(struct Qdisc *arg0) { // Void type return; } // Function: qdisc_reset // with type: void qdisc_reset(struct Qdisc *) // with return type: void void qdisc_reset(struct Qdisc *arg0) { // Void type return; } // Function: rcu_read_lock_bh_held // with type: int rcu_read_lock_bh_held() // with return type: int int __VERIFIER_nondet_int(void); int rcu_read_lock_bh_held() { // Simple type return __VERIFIER_nondet_int(); } // Function: register_qdisc // with type: int register_qdisc(struct Qdisc_ops *) // with return type: int int __VERIFIER_nondet_int(void); int register_qdisc(struct Qdisc_ops *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: skb_clone // with type: struct sk_buff *skb_clone(struct sk_buff *, gfp_t ) // with return type: (struct sk_buff)* struct sk_buff *skb_clone(struct sk_buff *arg0, gfp_t arg1) { // Pointer type return ldv_malloc(sizeof(struct sk_buff)); } // Function: skb_copy // with type: struct sk_buff *skb_copy(const struct sk_buff *, gfp_t ) // with return type: (struct sk_buff)* struct sk_buff *skb_copy(const struct sk_buff *arg0, gfp_t arg1) { // 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_realloc_headroom // with type: struct sk_buff *skb_realloc_headroom(struct sk_buff *, unsigned int) // with return type: (struct sk_buff)* struct sk_buff *skb_realloc_headroom(struct sk_buff *arg0, unsigned int arg1) { // Pointer type return ldv_malloc(sizeof(struct sk_buff)); } // 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: sockfd_lookup // with type: struct socket *sockfd_lookup(int, int *) // with return type: (struct socket)* struct socket *sockfd_lookup(int arg0, int *arg1) { // Pointer type return ldv_malloc(sizeof(struct socket)); } // 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: tc_classify_compat // with type: int tc_classify_compat(struct sk_buff *, const struct tcf_proto *, struct tcf_result *) // with return type: int int __VERIFIER_nondet_int(void); int tc_classify_compat(struct sk_buff *arg0, const struct tcf_proto *arg1, struct tcf_result *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: tcf_destroy_chain // with type: void tcf_destroy_chain(struct tcf_proto **) // with return type: void void tcf_destroy_chain(struct tcf_proto **arg0) { // Void type return; } // Function: unregister_qdisc // with type: int unregister_qdisc(struct Qdisc_ops *) // with return type: int int __VERIFIER_nondet_int(void); int unregister_qdisc(struct Qdisc_ops *arg0) { // Simple type return __VERIFIER_nondet_int(); }