Lines Matching defs:strcat
346 // strcat()
354 #define strcat(a,b) __strcat_chk(a,b,(size_t)-1)
358 #define strcat BUILTIN(strcat)
359 char *strcat(char *restrict s1, const char *restrict s2);
365 strcat(NULL, x); // expected-warning{{Null pointer argument in call to string copy function}}
369 strcat(x, NULL); // expected-warning{{Null pointer argument in call to string copy function}}
373 strcat(x, (char*)&strcat_fn); // expected-warning{{Argument to string copy function is the address of the function 'strcat_fn', which is not a null-terminated string}}
384 clang_analyzer_eval(strcat(x, y) == x); // expected-warning{{TRUE}}
391 strcat(x, y); // expected-warning{{String copy function overflows destination buffer}}
397 strcat(x, y); // expected-warning{{String copy function overflows destination buffer}}
403 strcat(x, y); // expected-warning{{String copy function overflows destination buffer}}
409 strcat(x, y); // no-warning
413 strcat(dst, "1234");
419 strcat(dst, "1234");
425 strcat(dst, &src[offset]);
438 strcat(dst, src);
1093 strcat(dst, src);