]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - lib/Kconfig.kasan
lib: add kasan test module
[mirror_ubuntu-artful-kernel.git] / lib / Kconfig.kasan
index a11ac02344522177061e6853d9f64db189396452..4d47d874335ce9d1b6c8dad94e45b4abb0515fc8 100644 (file)
@@ -42,4 +42,12 @@ config KASAN_INLINE
 
 endchoice
 
+config TEST_KASAN
+       tristate "Module for testing kasan for bug detection"
+       depends on m && KASAN
+       help
+         This is a test module doing various nasty things like
+         out of bounds accesses, use after free. It is useful for testing
+         kernel debugging features like kernel address sanitizer.
+
 endif