Home
last modified time | relevance | path

Searched refs:match_memcpy (Results 1 – 2 of 2) sorted by relevance

/illumos-gate/usr/src/tools/smatch/src/
H A Dsmatch_param_cleared.c68 static void match_memcpy(const char *fn, struct expression *expr, void *arg) in match_memcpy() function
129 add_function_hook(function, &match_memcpy, INT_PTR(param)); in register_clears_param()
183 add_function_hook("memcpy", &match_memcpy, INT_PTR(0)); in register_param_cleared()
184 add_function_hook("memmove", &match_memcpy, INT_PTR(0)); in register_param_cleared()
185 add_function_hook("__memcpy", &match_memcpy, INT_PTR(0)); in register_param_cleared()
186 add_function_hook("__memmove", &match_memcpy, INT_PTR(0)); in register_param_cleared()
187 add_function_hook("strcpy", &match_memcpy, INT_PTR(0)); in register_param_cleared()
188 add_function_hook("strncpy", &match_memcpy, INT_PTR(0)); in register_param_cleared()
189 add_function_hook("sprintf", &match_memcpy, INT_PTR(0)); in register_param_cleared()
190 add_function_hook("snprintf", &match_memcpy, INT_PTR(0)); in register_param_cleared()
H A Dsmatch_struct_assignment.c443 static void match_memcpy(const char *fn, struct expression *expr, void *_arg) in match_memcpy() function
569 add_function_hook("memcpy", &match_memcpy, INT_PTR(0)); in register_struct_assignment()
570 add_function_hook("memmove", &match_memcpy, INT_PTR(0)); in register_struct_assignment()
571 add_function_hook("__memcpy", &match_memcpy, INT_PTR(0)); in register_struct_assignment()
572 add_function_hook("__memmove", &match_memcpy, INT_PTR(0)); in register_struct_assignment()