mirror of
https://github.com/apache/nuttx.git
synced 2026-05-29 20:56:47 +08:00
mm/kasan: add kasan watch point implementation
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
+11
@@ -264,6 +264,11 @@ choice
|
||||
prompt "KAsan Mode"
|
||||
default MM_KASAN_GENERIC
|
||||
|
||||
config MM_KASAN_NONE
|
||||
bool "KAsan disable"
|
||||
---help---
|
||||
Disable KASan check
|
||||
|
||||
config MM_KASAN_GENERIC
|
||||
bool "KAsan generic mode"
|
||||
---help---
|
||||
@@ -288,6 +293,12 @@ config MM_KASAN_ALL
|
||||
to check. Enabling this option will get image size increased
|
||||
and performance decreased significantly.
|
||||
|
||||
config MM_KASAN_WATCHPOINT
|
||||
int "Kasan watchpoint maximum number"
|
||||
default 0
|
||||
---help---
|
||||
The maximum number of watchpoints that can be set by KASan.
|
||||
|
||||
config MM_KASAN_DISABLE_NULL_POINTER_CHECK
|
||||
bool "Disable null pointer access check"
|
||||
default n
|
||||
|
||||
Reference in New Issue
Block a user