Lines Matching refs:OverlapErrorMessage
432 static string OverlapErrorMessage(const string &func) { in OverlapErrorMessage() function
448 EXPECT_DEATH(Ident(memcpy)(str, str + 14, 15), OverlapErrorMessage("memcpy")); in TEST()
449 EXPECT_DEATH(Ident(memcpy)(str + 14, str, 15), OverlapErrorMessage("memcpy")); in TEST()
461 EXPECT_DEATH(strcpy(str + 9, str), OverlapErrorMessage("strcpy")); in TEST()
462 EXPECT_DEATH(strcpy(str, str + 4), OverlapErrorMessage("strcpy")); in TEST()
468 EXPECT_DEATH(strncpy(str, str + 9, 10), OverlapErrorMessage("strncpy")); in TEST()
469 EXPECT_DEATH(strncpy(str + 9, str, 10), OverlapErrorMessage("strncpy")); in TEST()
472 EXPECT_DEATH(strncpy(str + 10, str, 20), OverlapErrorMessage("strncpy")); in TEST()
479 EXPECT_DEATH(strcat(str, str + 11), OverlapErrorMessage("strcat")); in TEST()
482 EXPECT_DEATH(strcat(str, str + 9), OverlapErrorMessage("strcat")); in TEST()
483 EXPECT_DEATH(strcat(str + 9, str), OverlapErrorMessage("strcat")); in TEST()
484 EXPECT_DEATH(strcat(str + 10, str), OverlapErrorMessage("strcat")); in TEST()
490 EXPECT_DEATH(strncat(str, str + 11, 10), OverlapErrorMessage("strncat")); in TEST()
495 EXPECT_DEATH(strncat(str + 5, str, 6), OverlapErrorMessage("strncat")); in TEST()
496 EXPECT_DEATH(strncat(str, str + 9, 10), OverlapErrorMessage("strncat")); in TEST()