Searched refs:badlen (Results 1 – 1 of 1) sorted by relevance
| /llvm-project-15.0.7/clang/test/Analysis/ |
| H A D | cstring-syntax.c | 37 size_t badlen = 20; in testStrlcpy() local 43 …strlcpy(dest, src, badlen); // expected-warning {{The third argument allows to potentially copy mo… in testStrlcpy() 52 size_t badlen = 20; in testStrlcat() local 60 strlcat(dest, "0123456789", badlen / 2); in testStrlcat() 61 …strlcat(dest, "0123456789", badlen); // expected-warning {{The third argument allows to potentiall… in testStrlcat() 62 strlcat(dest, "0123456789", badlen - strlen(dest) - 1); in testStrlcat() 65 …strlcat(dest + 5, src, badlen); // expected-warning {{The third argument allows to potentially cop… in testStrlcat()
|