path: root/lib/Kconfig.kasan
diff options
authorAndrey Konovalov <>2021-02-24 12:05:21 -0800
committerLinus Torvalds <>2021-02-24 13:38:31 -0800
commit573a48092313dec7b254d9dbcc2db62167f00456 (patch)
tree4ede2ccc41f13f9d5c9bb7a47b73d3293a519024 /lib/Kconfig.kasan
parentda17e377723f50c7acd019e39cfeeca342415714 (diff)
kasan: add match-all tag tests
Add 3 new tests for tag-based KASAN modes: 1. Check that match-all pointer tag is not assigned randomly. 2. Check that 0xff works as a match-all pointer tag. 3. Check that there are no match-all memory tags. Note, that test #3 causes a significant number (255) of KASAN reports to be printed during execution for the SW_TAGS mode. [ export kasan_poison] Link: [ s/EXPORT_SYMBOL_GPL/EXPORT_SYMBOL/, per Andrey] Link: Link: Signed-off-by: Andrey Konovalov <> Signed-off-by: Arnd Bergmann <> Reviewed-by: Marco Elver <> Reviewed-by: Alexander Potapenko <> Cc: Andrey Ryabinin <> Cc: Branislav Rankov <> Cc: Catalin Marinas <> Cc: Dmitry Vyukov <> Cc: Evgenii Stepanov <> Cc: Kevin Brodsky <> Cc: Peter Collingbourne <> Cc: Vincenzo Frascino <> Cc: Will Deacon <> Signed-off-by: Andrew Morton <> Signed-off-by: Linus Torvalds <>
Diffstat (limited to 'lib/Kconfig.kasan')
0 files changed, 0 insertions, 0 deletions