kernel: enable KASAN option for more architectures
KASAN has supported more architectures, such as ARM, PPC32 and RISC-V 64. Enable KASAN option for those architectures. Signed-off-by: Qingfang Deng <dqfext@gmail.com>
This commit is contained in:
parent
9da90971ab
commit
a646e4f697
@ -144,7 +144,7 @@ config KERNEL_UBSAN_TRAP
|
|||||||
config KERNEL_KASAN
|
config KERNEL_KASAN
|
||||||
bool "Compile the kernel with KASan: runtime memory debugger"
|
bool "Compile the kernel with KASan: runtime memory debugger"
|
||||||
select KERNEL_SLUB_DEBUG
|
select KERNEL_SLUB_DEBUG
|
||||||
depends on (x86_64 || aarch64)
|
depends on (x86_64 || aarch64 || arm || powerpc || riscv64)
|
||||||
help
|
help
|
||||||
Enables kernel address sanitizer - runtime memory debugger,
|
Enables kernel address sanitizer - runtime memory debugger,
|
||||||
designed to find out-of-bounds accesses and use-after-free bugs.
|
designed to find out-of-bounds accesses and use-after-free bugs.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user