Home
last modified time | relevance | path

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

/external/compiler-rt/lib/asan/tests/
Dasan_str_test.cc48 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()
[all …]
Dasan_mem_test.cc156 RightOOBReadMessage(0)); in MemTransferOOBTestTemplate()
158 RightOOBReadMessage(0)); in MemTransferOOBTestTemplate()
220 EXPECT_DEATH(Ident(memcmp)(s1 + size, s2, 1), RightOOBReadMessage(0)); in TEST()
221 EXPECT_DEATH(Ident(memcmp)(s1, s2 + size, 1), RightOOBReadMessage(0)); in TEST()
223 EXPECT_DEATH(Ident(memcmp)(s1 + 1, s2 + 1, size), RightOOBReadMessage(0)); in TEST()
224 EXPECT_DEATH(Ident(memcmp)(s1 + size - 1, s2, 2), RightOOBReadMessage(0)); in TEST()
228 EXPECT_DEATH(Ident(memcmp)(s1, s2, size + 1), RightOOBReadMessage(0)); in TEST()
234 EXPECT_DEATH(Ident(memcmp)(s1, s2, size + 1), RightOOBReadMessage(0)); in TEST()
Dasan_test_utils.h77 string RightOOBReadMessage(int oob_distance);
Dasan_test.cc734 string RightOOBReadMessage(int oob_distance) { in RightOOBReadMessage() function