Home
last modified time | relevance | path

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

/external/compiler-rt/lib/asan/tests/
Dasan_str_test.cc43 string LeftOOBReadMessage(OOBKind oob_kind, int oob_distance) { in LeftOOBReadMessage() function
45 : ::LeftOOBReadMessage(oob_distance); in LeftOOBReadMessage()
67 EXPECT_DEATH(Ident(strlen(str - 1)), LeftOOBReadMessage(oob_kind, 1)); in StrLenOOBTestTemplate()
68 EXPECT_DEATH(Ident(strlen(str - 5)), LeftOOBReadMessage(oob_kind, 5)); in StrLenOOBTestTemplate()
121 EXPECT_DEATH(Ident(strnlen(str - 1, 1)), LeftOOBReadMessage(1)); in TEST()
141 EXPECT_DEATH(Ident(strdup(str - 1)), LeftOOBReadMessage(1)); in TEST()
162 EXPECT_DEATH(Ident(strcpy(to, from - 1)), LeftOOBReadMessage(1)); in TEST()
189 LeftOOBReadMessage(1)); in TEST()
229 EXPECT_DEATH(Ident(StrChr(str - 1, 'z')), LeftOOBReadMessage(1)); in RunStrChrTestImpl()
317 EXPECT_DEATH(Ident(StrCmp)(s1 - 1, s2), LeftOOBReadMessage(1)); in RunStrCmpTest()
[all …]
Dasan_mem_test.cc162 LeftOOBReadMessage(sizeof(T))); in MemTransferOOBTestTemplate()
164 LeftOOBReadMessage(6)); in MemTransferOOBTestTemplate()
176 LeftOOBReadMessage(2 * sizeof(T))); in MemTransferOOBTestTemplate()
218 EXPECT_DEATH(Ident(memcmp)(s1 - 1, s2, 1), LeftOOBReadMessage(1)); in TEST()
219 EXPECT_DEATH(Ident(memcmp)(s1, s2 - 1, 1), LeftOOBReadMessage(1)); in TEST()
Dasan_test_utils.h80 string LeftOOBReadMessage(int oob_distance);
Dasan_test.cc758 string LeftOOBReadMessage(int oob_distance) { in LeftOOBReadMessage() function