sim: update sim_asan dependencies

Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
This commit is contained in:
yinshengkai 2024-03-28 21:29:51 +08:00 committed by Xiang Xiao
parent bf957348ef
commit 0111cb73f1

View File

@ -70,7 +70,7 @@ config SIM_CYGWIN_DECORATED
config SIM_ASAN config SIM_ASAN
bool "Address Sanitizer" bool "Address Sanitizer"
default n default n
depends on MM_CUSTOMIZE_MANAGER && FRAME_POINTER depends on !MM_KASAN && MM_CUSTOMIZE_MANAGER && FRAME_POINTER
---help--- ---help---
AddressSanitizer (ASan) is a fast compiler-based tool for detecting memory AddressSanitizer (ASan) is a fast compiler-based tool for detecting memory
bugs in native code. bugs in native code.
@ -78,7 +78,7 @@ config SIM_ASAN
config SIM_UBSAN config SIM_UBSAN
bool "Undefined Behaviour Sanitizer" bool "Undefined Behaviour Sanitizer"
default n default n
depends on FRAME_POINTER depends on !MM_UBSAN && FRAME_POINTER
---help--- ---help---
Compile-time instrumentation is used to detect various undefined behaviours Compile-time instrumentation is used to detect various undefined behaviours
at runtime. at runtime.