summaryrefslogtreecommitdiffstats
path: root/lib/test_kasan.c
AgeCommit message (Expand)AuthorFilesLines
2022-07-27kasan: test: Silence GCC 12 warningsKees Cook1-0/+10
2022-04-04kasan: test: Use NULL macrosRicardo Ribalda1-1/+1
2022-03-24kasan: update function name in commentsPeter Collingbourne1-3/+3
2022-03-24kasan: test: support async (again) and asymm modes for HW_TAGSAndrey Konovalov1-17/+22
2022-03-24kasan: improve vmalloc testsAndrey Konovalov1-6/+188
2022-02-26kasan: test: prevent cache merging in kmem_cache_double_destroyAndrey Konovalov1-1/+4
2022-01-30kasan: test: fix compatibility with FORTIFY_SOURCEMarco Elver1-0/+5
2022-01-15kasan: test: add test case for double-kmem_cache_destroy()Marco Elver1-0/+11
2022-01-15kasan: test: add globals left-out-of-bounds testMarco Elver1-2/+17
2021-11-20kasan: test: silence intentional read overflow warningsKees Cook1-0/+2
2021-11-06Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-2/+24
2021-11-06kasan: test: bypass __alloc_size checksKees Cook1-1/+7
2021-11-06kasan: test: add memcpy test that avoids out-of-bounds writePeter Collingbourne1-1/+17
2021-10-07kasan: Extend KASAN mode kernel parameterVincenzo Frascino1-1/+1
2021-09-03Merge branch 'akpm' (patches from Andrew)Linus Torvalds1-23/+57
2021-09-03kasan: test: clean up ksize_uafAndrey Konovalov1-2/+2
2021-09-03kasan: test: only do kmalloc_uaf_memset for generic modeAndrey Konovalov1-0/+6
2021-09-03kasan: test: disable kmalloc_memmove_invalid_size for HW_TAGSAndrey Konovalov1-1/+7
2021-09-03kasan: test: avoid corrupting memory via memsetAndrey Konovalov1-11/+17
2021-09-03kasan: test: avoid writing invalid memoryAndrey Konovalov1-7/+7
2021-09-03kasan: test: rework kmalloc_oob_rightAndrey Konovalov1-2/+18
2021-08-02arm64: kasan: mte: remove redundant mte_report_once logicMark Rutland1-2/+0
2021-07-08lib/test: fix spelling mistakesZhen Lei1-1/+1
2021-07-02Merge tag 'linux-kselftest-kunit-fixes-5.14-rc1' of git://git.kernel.org/pub/...Linus Torvalds1-8/+4
2021-06-29kasan: test: improve failure message in KUNIT_EXPECT_KASAN_FAIL()David Gow1-6/+5
2021-06-25kasan: test: make use of kunit_skip()Marco Elver1-8/+4
2021-05-14kasan: fix unit tests with CONFIG_UBSAN_LOCAL_BOUNDS enabledPeter Collingbourne1-6/+23
2021-04-30kasan: detect false-positives in testsAndrey Konovalov1-26/+29
2021-04-30kasan: init memory in kasan_(un)poison for HW_TAGSAndrey Konovalov1-2/+2
2021-04-11kasan, arm64: tests supports for HW_TAGS async modeAndrey Konovalov1-6/+11
2021-04-11kasan: Add KASAN mode kernel parameterVincenzo Frascino1-1/+1
2021-02-26kasan, mm: fail krealloc on freed objectsAndrey Konovalov1-0/+20
2021-02-26kasan: rework krealloc testsAndrey Konovalov1-10/+81
2021-02-24kasan: don't run tests when KASAN is not enabledAndrey Konovalov1-0/+5
2021-02-24kasan: add a test for kmem_cache_alloc/free_bulkAndrey Konovalov1-5/+33
2021-02-24kasan: add proper page allocator testsAndrey Konovalov1-5/+46
2021-02-24kasan: fix bug detection via ksize for HW_TAGS modeAndrey Konovalov1-0/+20
2021-02-24kasan: fix memory corruption in kasan_bitops_tags testAndrey Konovalov1-5/+5
2021-02-24kasan: adapt kmalloc_uaf2 test to HW_TAGS modeAndrey Konovalov1-0/+11
2021-02-24kasan: add compiler barriers to KUNIT_EXPECT_KASAN_FAILAndrey Konovalov1-5/+12
2021-02-24kasan, arm64: allow using KUnit tests with HW_TAGS modeAndrey Konovalov1-13/+29
2021-02-24kasan: add match-all tag testsAndrey Konovalov1-0/+92
2021-02-24kasan: add macros to simplify checking test constraintsAndrey Konovalov1-70/+31
2021-02-24kasan: clean up comments in testsAndrey Konovalov1-23/+36
2020-12-22kasan: rename KASAN_SHADOW_* to KASAN_GRANULE_*Andrey Konovalov1-1/+1
2020-11-02kasan: adopt KUNIT tests to SW_TAGS modeAndrey Konovalov1-42/+107
2020-10-13KASAN: port KASAN Tests to KUnitPatricia Alfonso1-432/+255
2020-10-13KUnit: KASAN IntegrationPatricia Alfonso1-2/+45
2020-08-07kasan: adjust kasan_stack_oob for tag-based modeAndrey Konovalov1-1/+1
2020-08-07lib/test_kasan.c: fix KASAN unit tests for tag-based KASANWalter Wu1-17/+32