Searched refs:oob_test (Results 1 – 2 of 2) sorted by relevance
/external/compiler-rt/lib/asan/tests/ |
D | asan_oob_test.cc | 24 NOINLINE void oob_test(int size, int off) { in oob_test() function 40 EXPECT_DEATH(oob_test<T>(size, i), expected_str); in OOBTest() 44 oob_test<T>(size, i); in OOBTest() 53 EXPECT_DEATH(oob_test<T>(size, i), expected_str); in OOBTest() 57 EXPECT_DEATH(oob_test<T>(kLargeMalloc, -1), in OOBTest() 59 EXPECT_DEATH(oob_test<T>(kLargeMalloc, kLargeMalloc), in OOBTest() 115 oob_test<U1>(10, -1); in TEST() 119 oob_test<U1>(kLargeMalloc, -1); in TEST() 123 oob_test<U1>(10, 10); in TEST() 127 oob_test<U1>(kLargeMalloc, kLargeMalloc); in TEST()
|
/external/llvm-project/compiler-rt/lib/asan/tests/ |
D | asan_oob_test.cpp | 23 NOINLINE void oob_test(int size, int off) { in oob_test() function 55 EXPECT_DEATH(oob_test<T>(size, i), GetLeftOOBMessage(-i)); in OOBTest() 58 oob_test<T>(size, i); in OOBTest() 64 EXPECT_DEATH(oob_test<T>(size, i), GetRightOOBMessage(off)); in OOBTest() 68 EXPECT_DEATH(oob_test<T>(kLargeMalloc, -1), GetLeftOOBMessage(1)); in OOBTest() 69 EXPECT_DEATH(oob_test<T>(kLargeMalloc, kLargeMalloc), GetRightOOBMessage(0)); in OOBTest() 120 oob_test<U1>(10, -1); in TEST() 124 oob_test<U1>(kLargeMalloc, -1); in TEST() 128 oob_test<U1>(10, 10); in TEST() 132 oob_test<U1>(kLargeMalloc, kLargeMalloc); in TEST()
|