Lines Matching refs:OverlapErrorMessage
447 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()
498 EXPECT_DEATH(strcat(str + 9, str), OverlapErrorMessage("strcat")); in TEST()
499 EXPECT_DEATH(strcat(str + 10, str), OverlapErrorMessage("strcat")); in TEST()
505 EXPECT_DEATH(strncat(str, str + 11, 10), OverlapErrorMessage("strncat")); in TEST()
510 EXPECT_DEATH(strncat(str + 5, str, 6), OverlapErrorMessage("strncat")); in TEST()
511 EXPECT_DEATH(strncat(str, str + 9, 10), OverlapErrorMessage("strncat")); in TEST()