Searched refs:add_implied_return_hook (Results 1 – 6 of 6) sorted by relevance
/illumos-gate/usr/src/tools/smatch/src/ |
H A D | smatch_common_functions.c | 91 add_implied_return_hook("strlen", &match_strlen, NULL); in register_common_functions() 92 add_implied_return_hook("strnlen", &match_strnlen, NULL); in register_common_functions() 93 add_implied_return_hook("sprintf", &match_sprintf, INT_PTR(1)); in register_common_functions() 94 add_implied_return_hook("snprintf", &match_sprintf, INT_PTR(2)); in register_common_functions()
|
H A D | check_kernel.c | 458 add_implied_return_hook("ERR_PTR", &implied_err_cast_return, NULL); in check_kernel() 459 add_implied_return_hook("ERR_CAST", &implied_err_cast_return, NULL); in check_kernel() 460 add_implied_return_hook("PTR_ERR", &implied_err_cast_return, NULL); in check_kernel() 471 add_implied_return_hook("find_next_bit", &match_next_bit, NULL); in check_kernel() 472 add_implied_return_hook("find_next_zero_bit", &match_next_bit, NULL); in check_kernel() 473 add_implied_return_hook("find_first_bit", &match_next_bit, NULL); in check_kernel() 474 add_implied_return_hook("find_first_zero_bit", &match_next_bit, NULL); in check_kernel() 476 add_implied_return_hook("fls", &match_fls, NULL); in check_kernel() 477 add_implied_return_hook("fls64", &match_fls, NULL); in check_kernel()
|
H A D | smatch_annotate.c | 45 add_implied_return_hook("snprintf", ¶m_caps_return, INT_PTR(1)); in register_annotate()
|
H A D | check_debug.c | 835 add_implied_return_hook("__smatch_type_rl_helper", &match_type_rl_return, NULL); in check_debug()
|
H A D | smatch_function_hooks.c | 104 void add_implied_return_hook(const char *look_for, in add_implied_return_hook() function
|
H A D | smatch.h | 183 void add_implied_return_hook(const char *look_for,
|