Searched refs:KUNIT_EXPECT_KASAN_FAIL (Results 1 – 1 of 1) sorted by relevance
/linux/mm/kasan/ |
H A D | kasan_test_c.c | 118 #define KUNIT_EXPECT_KASAN_FAIL(test, expression) do { \ macro 177 KUNIT_EXPECT_KASAN_FAIL(test, ptr[size] = 'x'); in kmalloc_oob_right() 183 KUNIT_EXPECT_KASAN_FAIL(test, ptr[size + 5] = 'y'); in kmalloc_oob_right() 186 KUNIT_EXPECT_KASAN_FAIL(test, ptr[0] = in kmalloc_oob_right() 201 KUNIT_EXPECT_KASAN_FAIL(test, *ptr = *(ptr - 1)); in kmalloc_oob_left() 214 KUNIT_EXPECT_KASAN_FAIL(test, ptr[0] = ptr[size]); in kmalloc_node_oob_right() 231 KUNIT_EXPECT_KASAN_FAIL(test, ptr[size] = 'y'); in kmalloc_track_caller_oob_right() 243 KUNIT_EXPECT_KASAN_FAIL(test, ptr[size] = 'y'); in kmalloc_track_caller_oob_right() 261 KUNIT_EXPECT_KASAN_FAIL(test, ptr[size] = 0); in kmalloc_big_oob_right() 280 KUNIT_EXPECT_KASAN_FAIL(test, ptr[size + OOB_TAG_OFF] = 0); in kmalloc_large_oob_right() [all …]
|