// Skip function: __VERIFIER_error // Skip function: __VERIFIER_nondet_int // Skip function: __VERIFIER_nondet_u32 // Skip function: __VERIFIER_nondet_u8 // Skip function: __VERIFIER_nondet_ulong // Function: __dev_kfree_skb_any // with type: void __dev_kfree_skb_any(struct sk_buff *, enum skb_free_reason ) // with return type: void void __dev_kfree_skb_any(struct sk_buff *arg0, enum skb_free_reason arg1) { // Void type return; } // Function: __dynamic_dev_dbg // with type: int __dynamic_dev_dbg(struct _ddebug *, const struct device *, const char *, ...) // with return type: int int __VERIFIER_nondet_int(void); int __dynamic_dev_dbg(struct _ddebug *arg0, const struct device *arg1, const char *arg2, ...) { // Simple type return __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: __pci_register_driver // with type: int __pci_register_driver(struct pci_driver *, struct module *, const char *) // with return type: int int __VERIFIER_nondet_int(void); int __pci_register_driver(struct pci_driver *arg0, struct module *arg1, const char *arg2) { // Simple type return __VERIFIER_nondet_int(); } // 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_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_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; } // Skip function: calloc // 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_dma_map_page // with type: void debug_dma_map_page(struct device *, struct page *, size_t , size_t , int, dma_addr_t , bool ) // with return type: void void debug_dma_map_page(struct device *arg0, struct page *arg1, size_t arg2, size_t arg3, int arg4, dma_addr_t arg5, bool arg6) { // Void type return; } // Function: debug_dma_mapping_error // with type: void debug_dma_mapping_error(struct device *, dma_addr_t ) // with return type: void void debug_dma_mapping_error(struct device *arg0, dma_addr_t arg1) { // Void type return; } // Function: debug_dma_unmap_page // with type: void debug_dma_unmap_page(struct device *, dma_addr_t , size_t , int, bool ) // with return type: void void debug_dma_unmap_page(struct device *arg0, dma_addr_t arg1, size_t arg2, int arg3, bool arg4) { // Void type return; } // 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_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: dma_set_mask // with type: int dma_set_mask(struct device *, u64 ) // with return type: int int __VERIFIER_nondet_int(void); int dma_set_mask(struct device *arg0, u64 arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: dma_supported // with type: int dma_supported(struct device *, u64 ) // with return type: int int __VERIFIER_nondet_int(void); int dma_supported(struct device *arg0, u64 arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: down_interruptible // with type: int down_interruptible(struct semaphore *) // with return type: int int __VERIFIER_nondet_int(void); int down_interruptible(struct semaphore *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: free_irq // with type: void free_irq(unsigned int, void *) // with return type: void void free_irq(unsigned int arg0, void *arg1) { // Void type return; } // Function: ioread32 // with type: unsigned int ioread32(void *) // with return type: unsigned int unsigned int __VERIFIER_nondet_uint(void); unsigned int ioread32(void *arg0) { // Simple type return __VERIFIER_nondet_uint(); } // Function: iowrite32 // with type: void iowrite32(u32 , void *) // with return type: void void iowrite32(u32 arg0, void *arg1) { // Void type return; } // Skip function: kfree // Function: ldv_complete_4 // with type: int ldv_complete_4() // with return type: int int __VERIFIER_nondet_int(void); int ldv_complete_4() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_freeze_late_4 // with type: int ldv_freeze_late_4() // with return type: int int __VERIFIER_nondet_int(void); int ldv_freeze_late_4() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_freeze_noirq_4 // with type: int ldv_freeze_noirq_4() // with return type: int int __VERIFIER_nondet_int(void); int ldv_freeze_noirq_4() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_poweroff_late_4 // with type: int ldv_poweroff_late_4() // with return type: int int __VERIFIER_nondet_int(void); int ldv_poweroff_late_4() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_poweroff_noirq_4 // with type: int ldv_poweroff_noirq_4() // with return type: int int __VERIFIER_nondet_int(void); int ldv_poweroff_noirq_4() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_prepare_4 // with type: int ldv_prepare_4() // with return type: int int __VERIFIER_nondet_int(void); int ldv_prepare_4() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_restore_early_4 // with type: int ldv_restore_early_4() // with return type: int int __VERIFIER_nondet_int(void); int ldv_restore_early_4() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_restore_noirq_4 // with type: int ldv_restore_noirq_4() // with return type: int int __VERIFIER_nondet_int(void); int ldv_restore_noirq_4() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_resume_early_4 // with type: int ldv_resume_early_4() // with return type: int int __VERIFIER_nondet_int(void); int ldv_resume_early_4() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_resume_noirq_4 // with type: int ldv_resume_noirq_4() // with return type: int int __VERIFIER_nondet_int(void); int ldv_resume_noirq_4() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_suspend_late_4 // with type: int ldv_suspend_late_4() // with return type: int int __VERIFIER_nondet_int(void); int ldv_suspend_late_4() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_suspend_noirq_4 // with type: int ldv_suspend_noirq_4() // with return type: int int __VERIFIER_nondet_int(void); int ldv_suspend_noirq_4() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_thaw_early_4 // with type: int ldv_thaw_early_4() // with return type: int int __VERIFIER_nondet_int(void); int ldv_thaw_early_4() { // Simple type return __VERIFIER_nondet_int(); } // Function: ldv_thaw_noirq_4 // with type: int ldv_thaw_noirq_4() // with return type: int int __VERIFIER_nondet_int(void); int ldv_thaw_noirq_4() { // Simple type return __VERIFIER_nondet_int(); } // 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; } // Skip function: malloc // Skip function: memcpy // Skip function: memmove // Skip function: memset // Function: msleep // with type: void msleep(unsigned int) // with return type: void void msleep(unsigned int arg0) { // Void type return; } // Function: mwifiex_add_card // with type: int mwifiex_add_card(void *, struct semaphore *, struct mwifiex_if_ops *, u8 ) // with return type: int int __VERIFIER_nondet_int(void); int mwifiex_add_card(void *arg0, struct semaphore *arg1, struct mwifiex_if_ops *arg2, u8 arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: mwifiex_cancel_hs // with type: int mwifiex_cancel_hs(struct mwifiex_private *, int) // with return type: int int __VERIFIER_nondet_int(void); int mwifiex_cancel_hs(struct mwifiex_private *arg0, int arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: mwifiex_deauthenticate_all // with type: void mwifiex_deauthenticate_all(struct mwifiex_adapter *) // with return type: void void mwifiex_deauthenticate_all(struct mwifiex_adapter *arg0) { // Void type return; } // Function: mwifiex_disable_auto_ds // with type: int mwifiex_disable_auto_ds(struct mwifiex_private *) // with return type: int int __VERIFIER_nondet_int(void); int mwifiex_disable_auto_ds(struct mwifiex_private *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: mwifiex_enable_hs // with type: int mwifiex_enable_hs(struct mwifiex_adapter *) // with return type: int int __VERIFIER_nondet_int(void); int mwifiex_enable_hs(struct mwifiex_adapter *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: mwifiex_handle_rx_packet // with type: int mwifiex_handle_rx_packet(struct mwifiex_adapter *, struct sk_buff *) // with return type: int int __VERIFIER_nondet_int(void); int mwifiex_handle_rx_packet(struct mwifiex_adapter *arg0, struct sk_buff *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: mwifiex_init_shutdown_fw // with type: int mwifiex_init_shutdown_fw(struct mwifiex_private *, u32 ) // with return type: int int __VERIFIER_nondet_int(void); int mwifiex_init_shutdown_fw(struct mwifiex_private *arg0, u32 arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: mwifiex_process_sleep_confirm_resp // with type: void mwifiex_process_sleep_confirm_resp(struct mwifiex_adapter *, u8 *, u32 ) // with return type: void void mwifiex_process_sleep_confirm_resp(struct mwifiex_adapter *arg0, u8 *arg1, u32 arg2) { // Void type return; } // Function: mwifiex_remove_card // with type: int mwifiex_remove_card(struct mwifiex_adapter *, struct semaphore *) // with return type: int int __VERIFIER_nondet_int(void); int mwifiex_remove_card(struct mwifiex_adapter *arg0, struct semaphore *arg1) { // Simple type return __VERIFIER_nondet_int(); } // Function: mwifiex_write_data_complete // with type: int mwifiex_write_data_complete(struct mwifiex_adapter *, struct sk_buff *, int, int) // with return type: int int __VERIFIER_nondet_int(void); int mwifiex_write_data_complete(struct mwifiex_adapter *arg0, struct sk_buff *arg1, int arg2, int arg3) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_disable_device // with type: void pci_disable_device(struct pci_dev *) // with return type: void void pci_disable_device(struct pci_dev *arg0) { // Void type return; } // Function: pci_enable_device // with type: int pci_enable_device(struct pci_dev *) // with return type: int int __VERIFIER_nondet_int(void); int pci_enable_device(struct pci_dev *arg0) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_iomap // with type: void *pci_iomap(struct pci_dev *, int, unsigned long) // with return type: (void)* void *pci_iomap(struct pci_dev *arg0, int arg1, unsigned long arg2) { // Pointer type return ldv_malloc(arg2); } // Function: pci_iounmap // with type: void pci_iounmap(struct pci_dev *, void *) // with return type: void void pci_iounmap(struct pci_dev *arg0, void *arg1) { // Void type return; } // Function: pci_release_region // with type: void pci_release_region(struct pci_dev *, int) // with return type: void void pci_release_region(struct pci_dev *arg0, int arg1) { // Void type return; } // Function: pci_request_region // with type: int pci_request_region(struct pci_dev *, int, const char *) // with return type: int int __VERIFIER_nondet_int(void); int pci_request_region(struct pci_dev *arg0, int arg1, const char *arg2) { // Simple type return __VERIFIER_nondet_int(); } // Function: pci_set_master // with type: void pci_set_master(struct pci_dev *) // with return type: void void pci_set_master(struct pci_dev *arg0) { // Void type return; } // Function: pci_unregister_driver // with type: void pci_unregister_driver(struct pci_driver *) // with return type: void void pci_unregister_driver(struct pci_driver *arg0) { // 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_on // with type: bool queue_work_on(int, struct workqueue_struct *, struct work_struct *) // with return type: bool bool __VERIFIER_nondet_bool(void); bool queue_work_on(int arg0, struct workqueue_struct *arg1, struct work_struct *arg2) { // Typedef type // Real type: _Bool // Simple type return __VERIFIER_nondet_bool(); } // Function: request_threaded_irq // with type: int request_threaded_irq(unsigned int, irqreturn_t (*)(int, void *), irqreturn_t (*)(int, void *), unsigned long, const char *, void *) // with return type: int int __VERIFIER_nondet_int(void); int request_threaded_irq(unsigned int arg0, irqreturn_t (*arg1)(int, void *), irqreturn_t (*arg2)(int, void *), unsigned long arg3, const char *arg4, void *arg5) { // 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_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: strcpy // Function: up // with type: void up(struct semaphore *) // with return type: void void up(struct semaphore *arg0) { // Void type return; } // Function: usleep_range // with type: void usleep_range(unsigned long, unsigned long) // with return type: void void usleep_range(unsigned long arg0, unsigned long arg1) { // 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; }