Lines Matching defs:strcat
374 // strcat()
382 #define strcat(a,b) __strcat_chk(a,b,(size_t)-1)
386 #define strcat BUILTIN(strcat)
387 char *strcat(char *restrict s1, const char *restrict s2);
393 strcat(NULL, x); // expected-warning{{Null pointer argument in call to string copy function}}
397 strcat(x, NULL); // expected-warning{{Null pointer argument in call to string copy function}}
401 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}}
412 if (strcat(x, y) != x)
422 strcat(x, y); // expected-warning{{String copy function overflows destination buffer}}
428 strcat(x, y); // expected-warning{{String copy function overflows destination buffer}}
434 strcat(x, y); // expected-warning{{String copy function overflows destination buffer}}
440 strcat(x, y); // no-warning
444 strcat(dst, "1234");
451 strcat(dst, src);
458 strcat(dst, "1234");
465 strcat(dst, &src[offset]);
478 strcat(dst, src); // expected-warning{{This expression will create a string whose length is too big to be represented as a size_t}}