kasan: add kernel address sanitizer infrastructure
[firefly-linux-kernel-4.4.55.git] / lib / Kconfig.debug
index a2ca213c71ca8d2e0a93051851477db8cacb5ac1..ecb3516f6546431b1daf17ec77967b3a84416b12 100644 (file)
@@ -636,7 +636,7 @@ config DEBUG_STACKOVERFLOW
        depends on DEBUG_KERNEL && HAVE_DEBUG_STACKOVERFLOW
        ---help---
          Say Y here if you want to check for overflows of kernel, IRQ
-         and exception stacks (if your archicture uses them). This
+         and exception stacks (if your architecture uses them). This
          option will show detailed messages if free stack space drops
          below a certain limit.
 
@@ -651,6 +651,8 @@ config DEBUG_STACKOVERFLOW
 
 source "lib/Kconfig.kmemcheck"
 
+source "lib/Kconfig.kasan"
+
 endmenu # "Memory Debugging"
 
 config DEBUG_SHIRQ
@@ -1580,6 +1582,9 @@ config ASYNC_RAID6_TEST
 
          If unsure, say N.
 
+config TEST_HEXDUMP
+       tristate "Test functions located in the hexdump module at runtime"
+
 config TEST_STRING_HELPERS
        tristate "Test functions located in the string_helpers module at runtime"
 
@@ -1587,7 +1592,7 @@ config TEST_KSTRTOX
        tristate "Test kstrto*() family of functions at runtime"
 
 config TEST_RHASHTABLE
-       bool "Perform selftest on resizable hash table"
+       tristate "Perform selftest on resizable hash table"
        default n
        help
          Enable this option to test the rhashtable functions at boot.