Home
last modified time | relevance | path

Searched refs:match_memset (Results 1 – 3 of 3) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/
H A Dcheck_memset.c44 static void match_memset(const char *fn, struct expression *expr, void *data) in match_memset() function
58 add_function_hook("memset", &match_memset, NULL); in check_memset()
59 add_function_hook("__builtin_memset", &match_memset, NULL); in check_memset()
H A Dsmatch_param_cleared.c63 static void match_memset(const char *fn, struct expression *expr, void *arg) in match_memset() function
178 add_function_hook("memset", &match_memset, INT_PTR(0)); in register_param_cleared()
179 add_function_hook("memzero", &match_memset, INT_PTR(0)); in register_param_cleared()
180 add_function_hook("__memset", &match_memset, INT_PTR(0)); in register_param_cleared()
181 add_function_hook("__memzero", &match_memset, INT_PTR(0)); in register_param_cleared()
H A Dsmatch_struct_assignment.c431 static void match_memset(const char *fn, struct expression *expr, void *_size_arg) in match_memset() function
566 add_function_hook("memset", &match_memset, NULL); in register_struct_assignment()
567 add_function_hook("__memset", &match_memset, NULL); in register_struct_assignment()