Home
last modified time | relevance | path

Searched refs:OverlapErrorMessage (Results 1 – 1 of 1) sorted by relevance

/external/compiler-rt/lib/asan/tests/
Dasan_str_test.cc447 static string OverlapErrorMessage(const string &func) { in OverlapErrorMessage() function
463 EXPECT_DEATH(Ident(memcpy)(str, str + 14, 15), OverlapErrorMessage("memcpy")); in TEST()
464 EXPECT_DEATH(Ident(memcpy)(str + 14, str, 15), OverlapErrorMessage("memcpy")); in TEST()
476 EXPECT_DEATH(strcpy(str + 9, str), OverlapErrorMessage("strcpy")); in TEST()
477 EXPECT_DEATH(strcpy(str, str + 4), OverlapErrorMessage("strcpy")); in TEST()
483 EXPECT_DEATH(strncpy(str, str + 9, 10), OverlapErrorMessage("strncpy")); in TEST()
484 EXPECT_DEATH(strncpy(str + 9, str, 10), OverlapErrorMessage("strncpy")); in TEST()
487 EXPECT_DEATH(strncpy(str + 10, str, 20), OverlapErrorMessage("strncpy")); in TEST()
494 EXPECT_DEATH(strcat(str, str + 11), OverlapErrorMessage("strcat")); in TEST()
497 EXPECT_DEATH(strcat(str, str + 9), OverlapErrorMessage("strcat")); in TEST()
[all …]