summaryrefslogtreecommitdiff
path: root/lib/test_kasan.c
AgeCommit message (Expand)AuthorFilesLines
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-15kasan: 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-25kasan: don't run tests when KASAN is not enabledAndrey Konovalov1-0/+5
2021-02-25kasan: add a test for kmem_cache_alloc/free_bulkAndrey Konovalov1-5/+33
2021-02-25kasan: add proper page allocator testsAndrey Konovalov1-5/+46
2021-02-25kasan: fix bug detection via ksize for HW_TAGS modeAndrey Konovalov1-0/+20
2021-02-25kasan: fix memory corruption in kasan_bitops_tags testAndrey Konovalov1-5/+5
2021-02-25kasan: adapt kmalloc_uaf2 test to HW_TAGS modeAndrey Konovalov1-0/+11
2021-02-25kasan: add compiler barriers to KUNIT_EXPECT_KASAN_FAILAndrey Konovalov1-5/+12
2021-02-25kasan, arm64: allow using KUnit tests with HW_TAGS modeAndrey Konovalov1-13/+29
2021-02-25kasan: add match-all tag testsAndrey Konovalov1-0/+92
2021-02-25kasan: add macros to simplify checking test constraintsAndrey Konovalov1-70/+31
2021-02-25kasan: 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-14KASAN: port KASAN Tests to KUnitPatricia Alfonso1-432/+255
2020-10-14KUnit: 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
2020-08-07kasan: add tests for call_rcu stack recordingWalter Wu1-0/+30
2020-08-07mm, treewide: rename kzfree() to kfree_sensitive()Waiman Long1-3/+3
2020-06-04kasan: stop tests being eliminated as dead code with FORTIFY_SOURCEDaniel Axtens1-10/+19
2020-04-02kasan: add test for invalid size in memmoveWalter Wu1-0/+19
2020-01-31lib/test_kasan.c: fix memory leak in kmalloc_oob_krealloc_more()Gustavo A. R. Silva1-0/+1
2019-12-01kasan: add test for vmallocDaniel Axtens1-0/+26
2019-09-25lib/test_kasan.c: add roundtrip testsMark Rutland1-0/+41
2019-07-12lib/test_kasan: Add test for double-kzfree detectionMarco Elver1-0/+17
2019-07-12lib/test_kasan: add bitops testsMarco Elver1-3/+78
2019-06-19treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500Thomas Gleixner1-5/+1
2019-03-06kasan: remove use after scope bugs detection.Andrey Ryabinin1-24/+0
2018-10-27lib/test_kasan.c: add tests for several string/memory API functionsAndrey Ryabinin1-0/+70
2018-04-11kasan: fix invalid-free test crashing the kernelAndrey Konovalov1-0/+8
2018-02-07kasan: remove redundant initialization of variable 'real_size'Colin Ian King1-1/+1