From ea2ab17b95a3835d77e134de23f1d4d7b5a3a75d Mon Sep 17 00:00:00 2001 From: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com> Date: Fri, 13 Feb 2026 16:53:08 +0000 Subject: [PATCH] supp. coro releated asan errors Signed-off-by: Pratik Mankawde <3397372+pratikmankawde@users.noreply.github.com> --- cspell.config.yaml | 1 + sanitizers/suppressions/asan.supp | 12 ++---------- 2 files changed, 3 insertions(+), 10 deletions(-) diff --git a/cspell.config.yaml b/cspell.config.yaml index b50dd82ebf..098a191988 100644 --- a/cspell.config.yaml +++ b/cspell.config.yaml @@ -101,6 +101,7 @@ words: - fcontext - finalizers - firewalled + - flackiness - fmtdur - fsanitize - funclets diff --git a/sanitizers/suppressions/asan.supp b/sanitizers/suppressions/asan.supp index 68e8de9f53..256c77f32b 100644 --- a/sanitizers/suppressions/asan.supp +++ b/sanitizers/suppressions/asan.supp @@ -9,17 +9,9 @@ # - stack-buffer-overflow errors in seemingly unrelated code (e.g., std::chrono::steady_clock::now()) # - stack-buffer-underflow errors in seemingly unrelated code (e.g., xxhasher::retrieveHash(), clock_gettime) # -# These are suppressed via: -# 1. Runtime option: detect_stack_use_after_return=0 (in ASAN_OPTIONS in CI workflow) -# 2. Compile-time flag: -fno-sanitize-address-use-after-scope (in cmake/XrplSanitizers.cmake) -# -# Note: stack-buffer-overflow false positives from coroutines cannot be fully suppressed -# without disabling ASAN entirely for Boost. Clang builds use -fsanitize-blacklist to -# exclude Boost headers, but GCC does not support this feature. -# -# See: https://github.com/google/sanitizers/issues/189 +# These are now handled by using coroutine2 and ucontext backend. -# Boost - false positives from stackful coroutines interceptor_name:clock_gettime interceptor_name:__bzero interceptor_name:nudb +interceptor_name:coro # Suppress any flackiness