This is an automated email from the ASF dual-hosted git repository.

xiaoxiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/nuttx.git

commit 0111cb73f15785648df3fb78b38d2cf82b8c54a8
Author: yinshengkai <[email protected]>
AuthorDate: Thu Mar 28 21:29:51 2024 +0800

    sim: update sim_asan dependencies
    
    Signed-off-by: yinshengkai <[email protected]>
---
 arch/sim/Kconfig | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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.

Reply via email to