mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 11:56:10 +08:00
mm/kasan: support Disable Kasan read Panic
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
+12
-3
@@ -320,14 +320,23 @@ config MM_KASAN_GLOBAL
|
||||
KEEP ( *(. data. rel. local.. LASAN0))
|
||||
}", used to extract data generated by the compiler
|
||||
|
||||
config MM_KASAN_DISABLE_PANIC
|
||||
bool "Disable panic on kasan error"
|
||||
config MM_KASAN_DISABLE_READ_PANIC
|
||||
bool "Disable panic on kasan read error"
|
||||
default n
|
||||
---help---
|
||||
This option disable panic on kasan read error. It will print error info
|
||||
and continue to run.
|
||||
|
||||
config MM_KASAN_DISABLE_WRITE_PANIC
|
||||
bool "Disable panic on kasan write error"
|
||||
depends on MM_KASAN
|
||||
default n
|
||||
---help---
|
||||
This option disable panic on kasan error. It will print error info
|
||||
This option disable panic on kasan write error. It will print error info
|
||||
and continue to run.
|
||||
|
||||
endif # MM_KASAN
|
||||
|
||||
config MM_UBSAN
|
||||
bool "Undefined Behavior Sanitizer"
|
||||
default n
|
||||
|
||||
Reference in New Issue
Block a user