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