Lines Matching refs:RightOOBReadMessage
48 string RightOOBReadMessage(OOBKind oob_kind, int oob_distance) { in RightOOBReadMessage() function
50 : ::RightOOBReadMessage(oob_distance); in RightOOBReadMessage()
71 RightOOBReadMessage(oob_kind, 0)); in StrLenOOBTestTemplate()
75 EXPECT_DEATH(Ident(strlen(str)), RightOOBReadMessage(oob_kind, 0)); in StrLenOOBTestTemplate()
76 EXPECT_DEATH(Ident(strlen(str + length)), RightOOBReadMessage(oob_kind, 0)); in StrLenOOBTestTemplate()
106 EXPECT_DEATH(Ident(wcslen(heap_string + 14)), RightOOBReadMessage(0)); in TEST()
122 EXPECT_DEATH(Ident(strnlen(str + size, 1)), RightOOBReadMessage(0)); in TEST()
125 EXPECT_DEATH(Ident(strnlen(str, size + 1)), RightOOBReadMessage(0)); in TEST()
142 EXPECT_DEATH(Ident(strdup(str + size)), RightOOBReadMessage(0)); in TEST()
145 EXPECT_DEATH(Ident(strdup(str)), RightOOBReadMessage(0)); in TEST()
163 EXPECT_DEATH(Ident(strcpy(to, from + from_size)), RightOOBReadMessage(0)); in TEST()
167 EXPECT_DEATH(Ident(strcpy(to, from)), RightOOBReadMessage(0)); in TEST()
193 RightOOBReadMessage(0)); in TEST()
207 RightOOBReadMessage(0)); in TEST()
230 EXPECT_DEATH(Ident(StrChr(str + size, 'z')), RightOOBReadMessage(0)); in RunStrChrTestImpl()
233 EXPECT_DEATH(Ident(StrChr(str, 'a')), RightOOBReadMessage(0)); in RunStrChrTestImpl()
319 EXPECT_DEATH(Ident(StrCmp)(s1 + size, s2), RightOOBReadMessage(0)); in RunStrCmpTest()
320 EXPECT_DEATH(Ident(StrCmp)(s1, s2 + size), RightOOBReadMessage(0)); in RunStrCmpTest()
323 EXPECT_DEATH(Ident(StrCmp)(s1, s1), RightOOBReadMessage(0)); in RunStrCmpTest()
324 EXPECT_DEATH(Ident(StrCmp)(s1 + size - 1, s2), RightOOBReadMessage(0)); in RunStrCmpTest()
357 EXPECT_DEATH(Ident(StrNCmp)(s1 + size, s2, 1), RightOOBReadMessage(0)); in RunStrNCmpTest()
358 EXPECT_DEATH(Ident(StrNCmp)(s1, s2 + size, 1), RightOOBReadMessage(0)); in RunStrNCmpTest()
360 EXPECT_DEATH(Ident(StrNCmp)(s1 + 1, s2 + 1, size), RightOOBReadMessage(0)); in RunStrNCmpTest()
361 EXPECT_DEATH(Ident(StrNCmp)(s1 + size - 1, s2, 2), RightOOBReadMessage(0)); in RunStrNCmpTest()
394 EXPECT_DEATH(strcat(to, from + from_size), RightOOBReadMessage(0)); in TEST()
398 EXPECT_DEATH(strcat(to, from), RightOOBReadMessage(0)); in TEST()
429 EXPECT_DEATH(strncat(to, from + from_size, 2), RightOOBReadMessage(0)); in TEST()
435 EXPECT_DEATH(strncat(to, from, from_size + 1), RightOOBReadMessage(0)); in TEST()
521 EXPECT_DEATH(Atoi(array + 11), RightOOBReadMessage(1)); in RunAtoiOOBTest()
524 EXPECT_DEATH(Atoi(array), RightOOBReadMessage(0)); in RunAtoiOOBTest()
530 EXPECT_DEATH(Atoi(array), RightOOBReadMessage(0)); in RunAtoiOOBTest()
532 EXPECT_DEATH(Atoi(array), RightOOBReadMessage(0)); in RunAtoiOOBTest()
533 EXPECT_DEATH(Atoi(array + 9), RightOOBReadMessage(0)); in RunAtoiOOBTest()
562 EXPECT_DEATH(Strtol(array + 3, NULL, 0), RightOOBReadMessage(0)); in RunStrtolOOBTest()
565 EXPECT_DEATH(Strtol(array, NULL, 0), RightOOBReadMessage(0)); in RunStrtolOOBTest()
567 EXPECT_DEATH(Strtol(array, NULL, 36), RightOOBReadMessage(0)); in RunStrtolOOBTest()
573 EXPECT_DEATH(Strtol(array, NULL, 0), RightOOBReadMessage(0)); in RunStrtolOOBTest()
575 EXPECT_DEATH(Strtol(array, NULL, 0), RightOOBReadMessage(0)); in RunStrtolOOBTest()
577 EXPECT_DEATH(Strtol(array, NULL, 0), RightOOBReadMessage(0)); in RunStrtolOOBTest()