summaryrefslogtreecommitdiffstats
path: root/lib/test_kasan.c
AgeCommit message (Expand)AuthorFilesLines
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
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-03kasan: 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-24lib/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-05kasan: remove use after scope bugs detection.Andrey Ryabinin1-24/+0
2018-10-26lib/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-06kasan: remove redundant initialization of variable 'real_size'Colin Ian King1-1/+1
2018-02-06kasan: detect invalid freesDmitry Vyukov1-0/+50
2018-02-06kasan: detect invalid frees for large objectsDmitry Vyukov1-0/+33
2018-02-06kasan: add tests for alloca poisoningPaul Lawrence1-0/+22
2017-11-17lib/test: delete five error messages for failed memory allocationsMarkus Elfring1-3/+2
2017-03-31kasan: report only the first error by defaultMark Rutland1-0/+10
2017-02-24kasan: add memcg kmem_cache testGreg Thelen1-0/+34
2016-11-30kasan: support use-after-scope detectionDmitry Vyukov1-0/+29
2016-05-20kasan/tests: add tests for user memory access functionsAndrey Ryabinin1-0/+49
2016-05-20mm, kasan: add a ksize() testAlexander Potapenko1-0/+20
2016-03-25kasan: test fix: warn if the UAF could not be detected in kmalloc_uaf2Alexander Potapenko1-0/+2
2016-03-25kasan: modify kmalloc_large_oob_right(), add kmalloc_pagealloc_oob_right()Alexander Potapenko1-1/+27
2015-11-05lib: test_kasan: add some testcasesWang Long1-0/+69