/illumos-gate/usr/src/tools/smatch/src/ |
H A D | check_return_efault.c | 123 add_function_assign_hook("copy_to_user", &match_copy, NULL); in check_return_efault() 124 add_function_assign_hook("__copy_to_user", &match_copy, NULL); in check_return_efault() 125 add_function_assign_hook("copy_from_user", &match_copy, NULL); in check_return_efault() 126 add_function_assign_hook("__copy_from_user", &match_copy, NULL); in check_return_efault() 127 add_function_assign_hook("clear_user", &match_copy, NULL); in check_return_efault()
|
H A D | check_freeing_devm.c | 76 add_function_assign_hook("devm_kmalloc", &match_assign, NULL); in check_freeing_devm() 77 add_function_assign_hook("devm_kzalloc", &match_assign, NULL); in check_freeing_devm() 78 add_function_assign_hook("devm_kcalloc", &match_assign, NULL); in check_freeing_devm() 79 add_function_assign_hook("devm_kmalloc_array", &match_assign, NULL); in check_freeing_devm()
|
H A D | check_kmalloc_wrong_size.c | 88 add_function_assign_hook("malloc", &match_alloc, NULL); in check_kmalloc_wrong_size() 89 add_function_assign_hook("calloc", &match_calloc, INT_PTR(1)); in check_kmalloc_wrong_size() 93 add_function_assign_hook("kmalloc", &match_alloc, NULL); in check_kmalloc_wrong_size() 94 add_function_assign_hook("kcalloc", &match_calloc, INT_PTR(1)); in check_kmalloc_wrong_size()
|
H A D | check_wait_for_common.c | 39 add_function_assign_hook("wait_for_common", &match_wait_for_common, NULL); in check_wait_for_common() 40 …add_function_assign_hook("wait_for_completion_interruptible_timeout", &match_wait_for_common, NULL… in check_wait_for_common()
|
H A D | check_struct_type.c | 61 add_function_assign_hook("kmalloc", &match_assign, INT_PTR(0)); in check_struct_type() 62 add_function_assign_hook("kzalloc", &match_assign, INT_PTR(0)); in check_struct_type()
|
H A D | check_dma_mapping_error.c | 79 add_function_assign_hook("dma_mapping_error", &match_assign, NULL); in check_dma_mapping_error() 80 add_function_assign_hook("pci_dma_mapping_error", &match_assign, NULL); in check_dma_mapping_error()
|
H A D | check_container_of.c | 66 add_function_assign_hook("nla_data", &match_non_null, NULL); in check_container_of()
|
H A D | check_wine_filehandles.c | 91 add_function_assign_hook(filehandle_funcs[i], in check_wine_filehandles()
|
H A D | check_allocation_funcs.c | 103 add_function_assign_hook(allocation_funcs[i], in check_allocation_funcs()
|
H A D | check_snprintf.c | 84 add_function_assign_hook("snprintf", &match_snprintf, NULL); in check_snprintf()
|
H A D | check_info_leak.c | 88 add_function_assign_hook("kmalloc", &match_kmalloc, NULL); in check_info_leak()
|
H A D | smatch_fresh_alloc.c | 211 add_function_assign_hook(alloc_funcs[i].fn, &match_alloc, 0); in register_fresh_alloc()
|
H A D | check_leaks.c | 261 add_function_assign_hook(allocation_funcs[i], &match_alloc, NULL); in check_leaks()
|
H A D | check_err_ptr_deref.c | 167 add_function_assign_hook(func, &match_returns_err_ptr, NULL); in register_err_ptr_funcs()
|
H A D | check_deref.c | 275 add_function_assign_hook(func, &match_assign_returns_null, INT_PTR(arg)); in register_allocation_funcs()
|
H A D | smatch_strlen.c | 360 add_function_assign_hook("strlen", &match_strlen, NULL); in register_strlen_equiv()
|
H A D | check_rosenberg.c | 431 add_function_assign_hook("skb_put", &match_skb_put, NULL); in check_rosenberg3()
|
H A D | smatch_constraints_required.c | 254 add_function_assign_hook(func, call_back, INT_PTR(param)); in add_allocation_function()
|
H A D | smatch_parse_call_math.c | 641 add_function_assign_hook(alloc_functions[i].func, &match_alloc, in register_parse_call_math()
|
H A D | smatch_buf_comparison.c | 473 add_function_assign_hook(func, call_back, INT_PTR(param)); in add_allocation_function()
|
H A D | smatch_buf_size.c | 60 add_function_assign_hook(func, call_back, INT_PTR(param)); in add_allocation_function()
|
H A D | smatch_function_hooks.c | 95 void add_function_assign_hook(const char *look_for, func_hook *call_back, in add_function_assign_hook() function
|
H A D | smatch_kernel_user_data.c | 1510 add_function_assign_hook(returns_user_data[i], &match_user_assign_function, NULL); in register_kernel_user_data()
|
H A D | check_locking.c | 1087 add_function_assign_hook(lock->function, &match_returns_locked, idx); in register_lock()
|
H A D | smatch.h | 181 void add_function_assign_hook(const char *look_for, func_hook *call_back,
|