summaryrefslogtreecommitdiffstats
path: root/lib/test_kasan.c
Commit message (Expand)AuthorAgeFilesLines
* kasan: test: Silence GCC 12 warningsKees Cook2022-07-271-0/+10
* kasan: test: Use NULL macrosRicardo Ribalda2022-04-041-1/+1
* kasan: update function name in commentsPeter Collingbourne2022-03-241-3/+3
* kasan: test: support async (again) and asymm modes for HW_TAGSAndrey Konovalov2022-03-241-17/+22
* kasan: improve vmalloc testsAndrey Konovalov2022-03-241-6/+188
* kasan: test: prevent cache merging in kmem_cache_double_destroyAndrey Konovalov2022-02-261-1/+4
* kasan: test: fix compatibility with FORTIFY_SOURCEMarco Elver2022-01-301-0/+5
* kasan: test: add test case for double-kmem_cache_destroy()Marco Elver2022-01-151-0/+11
* kasan: test: add globals left-out-of-bounds testMarco Elver2022-01-151-2/+17
* kasan: test: silence intentional read overflow warningsKees Cook2021-11-201-0/+2
* Merge branch 'akpm' (patches from Andrew)Linus Torvalds2021-11-061-2/+24
|\
| * kasan: test: bypass __alloc_size checksKees Cook2021-11-061-1/+7
| * kasan: test: add memcpy test that avoids out-of-bounds writePeter Collingbourne2021-11-061-1/+17
* | kasan: Extend KASAN mode kernel parameterVincenzo Frascino2021-10-071-1/+1
|/
* Merge branch 'akpm' (patches from Andrew)Linus Torvalds2021-09-031-23/+57
|\
| * kasan: test: clean up ksize_uafAndrey Konovalov2021-09-031-2/+2
| * kasan: test: only do kmalloc_uaf_memset for generic modeAndrey Konovalov2021-09-031-0/+6
| * kasan: test: disable kmalloc_memmove_invalid_size for HW_TAGSAndrey Konovalov2021-09-031-1/+7
| * kasan: test: avoid corrupting memory via memsetAndrey Konovalov2021-09-031-11/+17
| * kasan: test: avoid writing invalid memoryAndrey Konovalov2021-09-031-7/+7
| * kasan: test: rework kmalloc_oob_rightAndrey Konovalov2021-09-031-2/+18
* | arm64: kasan: mte: remove redundant mte_report_once logicMark Rutland2021-08-021-2/+0
|/
* lib/test: fix spelling mistakesZhen Lei2021-07-081-1/+1
* Merge tag 'linux-kselftest-kunit-fixes-5.14-rc1' of git://git.kernel.org/pub/...Linus Torvalds2021-07-021-8/+4
|\
| * kasan: test: make use of kunit_skip()Marco Elver2021-06-251-8/+4
* | kasan: test: improve failure message in KUNIT_EXPECT_KASAN_FAIL()David Gow2021-06-291-6/+5
|/
* 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