kasan: add kernel address sanitizer infrastructure
[firefly-linux-kernel-4.4.55.git] / lib / Kconfig.debug
index 61689a86d7f83ca7f9e96fdd8214c7fe49202dc5..ecb3516f6546431b1daf17ec77967b3a84416b12 100644 (file)
@@ -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.