diff options
author | 2024-10-15 00:31:30 +0530 | |
---|---|---|
committer | 2024-11-11 17:22:25 -0800 | |
commit | 3738290bfc99606787f515a4590ad38dc4f79ca4 (patch) | |
tree | dc7d8ddf5fe009b628e6990903974c63595da115 /scripts/gdb/linux/modules.py | |
parent | kasan: change kasan_atomics kunit test as KUNIT_CASE_SLOW (diff) | |
download | wireguard-linux-3738290bfc99606787f515a4590ad38dc4f79ca4.tar.xz wireguard-linux-3738290bfc99606787f515a4590ad38dc4f79ca4.zip |
kasan: add kunit tests for kmalloc_track_caller, kmalloc_node_track_caller
The Kunit tests for kmalloc_track_caller and kmalloc_node_track_caller
were missing in kasan_test_c.c, which check that these functions poison
the memory properly.
Add a Kunit test:
-> kmalloc_tracker_caller_oob_right(): This includes out-of-bounds
access test for kmalloc_track_caller and kmalloc_node_track_caller.
Link: https://lkml.kernel.org/r/20241014190128.442059-1-niharchaithanya@gmail.com
Link: https://bugzilla.kernel.org/show_bug.cgi?id=216509
Signed-off-by: Nihar Chaithanya <niharchaithanya@gmail.com>
Reviewed-by: Andrey Konovalov <andreyknvl@gmail.com>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Shuah Khan <skhan@linuxfoundation.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions