Searched refs:RightOOBReadMessage (Results 1 – 4 of 4) sorted by relevance
| /openbsd/src/gnu/llvm/compiler-rt/lib/asan/tests/ |
| D | asan_str_test.cpp | 47 std::string RightOOBReadMessage(OOBKind oob_kind, int oob_distance) { in RightOOBReadMessage() function 49 : ::RightOOBReadMessage(oob_distance); in RightOOBReadMessage() 70 RightOOBReadMessage(oob_kind, 0)); in StrLenOOBTestTemplate() 74 EXPECT_DEATH(Ident(strlen(str)), RightOOBReadMessage(oob_kind, 0)); in StrLenOOBTestTemplate() 75 EXPECT_DEATH(Ident(strlen(str + length)), RightOOBReadMessage(oob_kind, 0)); in StrLenOOBTestTemplate() 108 EXPECT_DEATH(Ident(wcslen(heap_string + 14)), RightOOBReadMessage(0)); in TEST() 125 EXPECT_DEATH(Ident(strnlen(str + size, 1)), RightOOBReadMessage(0)); in TEST() 128 EXPECT_DEATH(Ident(strnlen(str, size + 1)), RightOOBReadMessage(0)); in TEST() 153 EXPECT_DEATH(Ident(strdup(str + size)), RightOOBReadMessage(0)); in TEST() 156 EXPECT_DEATH(Ident(strdup(str)), RightOOBReadMessage(0)); in TEST() [all …]
|
| D | asan_mem_test.cpp | 160 RightOOBReadMessage(0)); in MemTransferOOBTestTemplate() 162 RightOOBReadMessage(0)); in MemTransferOOBTestTemplate() 224 EXPECT_DEATH(Ident(cmpfn)(s1 + size, s2, 1), RightOOBReadMessage(0)); in CmpOOBTestCommon() 225 EXPECT_DEATH(Ident(cmpfn)(s1, s2 + size, 1), RightOOBReadMessage(0)); in CmpOOBTestCommon() 227 EXPECT_DEATH(Ident(cmpfn)(s1 + 1, s2 + 1, size), RightOOBReadMessage(0)); in CmpOOBTestCommon() 228 EXPECT_DEATH(Ident(cmpfn)(s1 + size - 1, s2, 2), RightOOBReadMessage(0)); in CmpOOBTestCommon() 232 EXPECT_DEATH(Ident(cmpfn)(s1, s2, size + 1), RightOOBReadMessage(0)); in CmpOOBTestCommon() 238 EXPECT_DEATH(Ident(cmpfn)(s1, s2, size + 1), RightOOBReadMessage(0)); in CmpOOBTestCommon()
|
| D | asan_test_utils.h | 78 std::string RightOOBReadMessage(int oob_distance);
|
| D | asan_test.cpp | 762 std::string RightOOBReadMessage(int oob_distance) { in RightOOBReadMessage() function
|