Skip to content

Commit 0111cb7

Browse files
Gary-Hobsonxiaoxiang781216
authored andcommitted
sim: update sim_asan dependencies
Signed-off-by: yinshengkai <yinshengkai@xiaomi.com>
1 parent bf95734 commit 0111cb7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

arch/sim/Kconfig

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,15 +70,15 @@ config SIM_CYGWIN_DECORATED
7070
config SIM_ASAN
7171
bool "Address Sanitizer"
7272
default n
73-
depends on MM_CUSTOMIZE_MANAGER && FRAME_POINTER
73+
depends on !MM_KASAN && MM_CUSTOMIZE_MANAGER && FRAME_POINTER
7474
---help---
7575
AddressSanitizer (ASan) is a fast compiler-based tool for detecting memory
7676
bugs in native code.
7777

7878
config SIM_UBSAN
7979
bool "Undefined Behaviour Sanitizer"
8080
default n
81-
depends on FRAME_POINTER
81+
depends on !MM_UBSAN && FRAME_POINTER
8282
---help---
8383
Compile-time instrumentation is used to detect various undefined behaviours
8484
at runtime.

0 commit comments

Comments
 (0)