Searched defs:strcpy_fn (Results 1 - 1 of 1) sorted by relevance

/external/clang/test/Analysis/
H A Dstring.c283 void strcpy_fn(char *x) { function
284 strcpy(x, (char*)&strcpy_fn); // expected-warning{{Argument to string copy function is the address of the function 'strcpy_fn', which is not a null-terminated string}}
486 strncpy(x, (char*)&strcpy_fn, 5); // expected-warning{{Argument to string copy function is the address of the function 'strcpy_fn', which is not a null-terminated string}}

Completed in 119 milliseconds