Lines Matching full:strcat
331 // strcat() reads strlen(to) bytes from |to| before concatenating.
338 // Normal strcat calls.
339 strcat(to, from);
340 strcat(to, from);
341 strcat(to + from_size, from + from_size - 2);
344 EXPECT_DEATH(strcat(to - 1, from + from_size - 1), LeftOOBAccessMessage(1));
346 EXPECT_DEATH(strcat(to - 1, from), LeftOOBAccessMessage(1));
347 EXPECT_DEATH(strcat(to, from - 1), LeftOOBReadMessage(1));
348 EXPECT_DEATH(strcat(to + to_size, from), RightOOBWriteMessage(0));
349 EXPECT_DEATH(strcat(to, from + from_size), RightOOBReadMessage(0));
353 EXPECT_DEATH(strcat(to, from), RightOOBReadMessage(0));
357 EXPECT_DEATH(strcat(to, from), RightOOBWriteMessage(0));
360 EXPECT_DEATH(strcat(to, from), RightOOBWriteMessage(0));
362 strcat(to, from + 1);
449 // Check "strcat".
453 strcat(str, str + 10);
454 EXPECT_DEATH(strcat(str, str + 11), OverlapErrorMessage("strcat"));
456 strcat(str + 11, str);
457 EXPECT_DEATH(strcat(str, str + 9), OverlapErrorMessage("strcat"));
458 EXPECT_DEATH(strcat(str + 9, str), OverlapErrorMessage("strcat"));
459 EXPECT_DEATH(strcat(str + 10, str), OverlapErrorMessage("strcat"));