Kconfig.kasan (0b24becc810dc3be6e3f94103a866f214c282394) Kconfig.kasan (ef7f0d6a6ca8c9e4b27d78895af86c2fbfaeedb2)
1config HAVE_ARCH_KASAN
2 bool
3
4if HAVE_ARCH_KASAN
5
6config KASAN
7 bool "KASan: runtime memory debugger"
8 help
9 Enables kernel address sanitizer - runtime memory debugger,
10 designed to find out-of-bounds accesses and use-after-free bugs.
11 This is strictly debugging feature. It consumes about 1/8
12 of available memory and brings about ~x3 performance slowdown.
13 For better error detection enable CONFIG_STACKTRACE,
14 and add slub_debug=U to boot cmdline.
15
16config KASAN_SHADOW_OFFSET
17 hex
1config HAVE_ARCH_KASAN
2 bool
3
4if HAVE_ARCH_KASAN
5
6config KASAN
7 bool "KASan: runtime memory debugger"
8 help
9 Enables kernel address sanitizer - runtime memory debugger,
10 designed to find out-of-bounds accesses and use-after-free bugs.
11 This is strictly debugging feature. It consumes about 1/8
12 of available memory and brings about ~x3 performance slowdown.
13 For better error detection enable CONFIG_STACKTRACE,
14 and add slub_debug=U to boot cmdline.
15
16config KASAN_SHADOW_OFFSET
17 hex
18 default 0xdffffc0000000000 if X86_64
18
19choice
20 prompt "Instrumentation type"
21 depends on KASAN
22 default KASAN_OUTLINE
23
24config KASAN_OUTLINE
25 bool "Outline instrumentation"

--- 18 unchanged lines hidden ---
19
20choice
21 prompt "Instrumentation type"
22 depends on KASAN
23 default KASAN_OUTLINE
24
25config KASAN_OUTLINE
26 bool "Outline instrumentation"

--- 18 unchanged lines hidden ---