summaryrefslogtreecommitdiffstats
path: root/lib/test_kasan.c
Commit message (Expand)AuthorAgeFilesLines
* kasan: fix unit tests with CONFIG_UBSAN_LOCAL_BOUNDS enabledPeter Collingbourne2021-05-141-6/+23
* kasan: detect false-positives in testsAndrey Konovalov2021-04-301-26/+29
* kasan: init memory in kasan_(un)poison for HW_TAGSAndrey Konovalov2021-04-301-2/+2
* kasan, arm64: tests supports for HW_TAGS async modeAndrey Konovalov2021-04-111-6/+11
* kasan: Add KASAN mode kernel parameterVincenzo Frascino2021-04-111-1/+1
* kasan, mm: fail krealloc on freed objectsAndrey Konovalov2021-02-261-0/+20
* kasan: rework krealloc testsAndrey Konovalov2021-02-261-10/+81
* kasan: don't run tests when KASAN is not enabledAndrey Konovalov2021-02-241-0/+5
* kasan: add a test for kmem_cache_alloc/free_bulkAndrey Konovalov2021-02-241-5/+33
* kasan: add proper page allocator testsAndrey Konovalov2021-02-241-5/+46
* kasan: fix bug detection via ksize for HW_TAGS modeAndrey Konovalov2021-02-241-0/+20
* kasan: fix memory corruption in kasan_bitops_tags testAndrey Konovalov2021-02-241-5/+5
* kasan: adapt kmalloc_uaf2 test to HW_TAGS modeAndrey Konovalov2021-02-241-0/+11
* kasan: add compiler barriers to KUNIT_EXPECT_KASAN_FAILAndrey Konovalov2021-02-241-5/+12
* kasan, arm64: allow using KUnit tests with HW_TAGS modeAndrey Konovalov2021-02-241-13/+29
* kasan: add match-all tag testsAndrey Konovalov2021-02-241-0/+92
* kasan: add macros to simplify checking test constraintsAndrey Konovalov2021-02-241-70/+31
* kasan: clean up comments in testsAndrey Konovalov2021-02-241-23/+36
* kasan: rename KASAN_SHADOW_* to KASAN_GRANULE_*Andrey Konovalov2020-12-221-1/+1
* kasan: adopt KUNIT tests to SW_TAGS modeAndrey Konovalov2020-11-021-42/+107
* KASAN: port KASAN Tests to KUnitPatricia Alfonso2020-10-131-432/+255
* KUnit: KASAN IntegrationPatricia Alfonso2020-10-131-2/+45
* kasan: adjust kasan_stack_oob for tag-based modeAndrey Konovalov2020-08-071-1/+1
* lib/test_kasan.c: fix KASAN unit tests for tag-based KASANWalter Wu2020-08-071-17/+32
* kasan: add tests for call_rcu stack recordingWalter Wu2020-08-071-0/+30
* mm, treewide: rename kzfree() to kfree_sensitive()Waiman Long2020-08-071-3/+3
* kasan: stop tests being eliminated as dead code with FORTIFY_SOURCEDaniel Axtens2020-06-031-10/+19
* kasan: add test for invalid size in memmoveWalter Wu2020-04-021-0/+19
* lib/test_kasan.c: fix memory leak in kmalloc_oob_krealloc_more()Gustavo A. R. Silva2020-01-311-0/+1
* kasan: add test for vmallocDaniel Axtens2019-12-011-0/+26
* lib/test_kasan.c: add roundtrip testsMark Rutland2019-09-241-0/+41
* lib/test_kasan: Add test for double-kzfree detectionMarco Elver2019-07-121-0/+17
* lib/test_kasan: add bitops testsMarco Elver2019-07-121-3/+78
* treewide: Replace GPLv2 boilerplate/reference with SPDX - rule 500Thomas Gleixner2019-06-191-5/+1
* kasan: remove use after scope bugs detection.Andrey Ryabinin2019-03-051-24/+0
* lib/test_kasan.c: add tests for several string/memory API functionsAndrey Ryabinin2018-10-261-0/+70
* kasan: fix invalid-free test crashing the kernelAndrey Konovalov2018-04-111-0/+8
* kasan: remove redundant initialization of variable 'real_size'Colin Ian King2018-02-061-1/+1
* kasan: detect invalid freesDmitry Vyukov2018-02-061-0/+50
* kasan: detect invalid frees for large objectsDmitry Vyukov2018-02-061-0/+33
* kasan: add tests for alloca poisoningPaul Lawrence2018-02-061-0/+22
* lib/test: delete five error messages for failed memory allocationsMarkus Elfring2017-11-171-3/+2
* kasan: report only the first error by defaultMark Rutland2017-03-311-0/+10
* kasan: add memcg kmem_cache testGreg Thelen2017-02-241-0/+34
* kasan: support use-after-scope detectionDmitry Vyukov2016-11-301-0/+29
* kasan/tests: add tests for user memory access functionsAndrey Ryabinin2016-05-201-0/+49
* mm, kasan: add a ksize() testAlexander Potapenko2016-05-201-0/+20
* kasan: test fix: warn if the UAF could not be detected in kmalloc_uaf2Alexander Potapenko2016-03-251-0/+2
* kasan: modify kmalloc_large_oob_right(), add kmalloc_pagealloc_oob_right()Alexander Potapenko2016-03-251-1/+27
* lib: test_kasan: add some testcasesWang Long2015-11-051-0/+69