kmsan: add test_stackdepot_roundtrip
authorAlexander Potapenko <glider@google.com>
Mon, 6 Mar 2023 11:13:22 +0000 (12:13 +0100)
committerAndrew Morton <akpm@linux-foundation.org>
Tue, 28 Mar 2023 23:20:14 +0000 (16:20 -0700)
commit6204c9ab4a5a05a72e04c12276fffdd6c6636489
treeebc38eb9dace54e83e0a0649f2ba6fdc92abb8ac
parent8e00b2dffd822b34d8d1c627dc19f0743f9f5ac6
kmsan: add test_stackdepot_roundtrip

Ensure that KMSAN does not report false positives in instrumented callers
of stack_depot_save(), stack_depot_print(), and stack_depot_fetch().

Link: https://lkml.kernel.org/r/20230306111322.205724-2-glider@google.com
Signed-off-by: Alexander Potapenko <glider@google.com>
Cc: Andrey Konovalov <andreyknvl@gmail.com>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Marco Elver <elver@google.com>
Cc: syzbot <syzkaller@googlegroups.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
mm/kmsan/kmsan_test.c