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

/external/clang/test/Analysis/
H A Dstring.c274 void strcpy_fn(char *x) { function
275 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}}
279 strcpy(x, (const 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}}
470 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 56 milliseconds