Files
scriptc/tests/harness/lsan.supp
T
Malte UblandClaude Opus 5.5 55a69232b7 Exit cleanly with Node loaded and keep nested entries on Node's stack (NI-7c, NI-3b)
Node islands stack, part 8 of 11 (scriptc-perf/results/islands-prs/PLAN.md).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 18:49:55 -07:00

26 lines
1.2 KiB
Plaintext

# LeakSanitizer suppressions for the sanitized corpus on Linux CI
# (scripts/ci-test-plan.mjs). One `leak:<function>` line per intentional
# leak, under a comment that gives the reason. Empty: no corpus program
# leaks.
# Node islands (scope-B NI-7c): OpenSSL inside libnode is initialized with
# OPENSSL_INIT_NO_ATEXIT (scr_node_bridge.cc, KeepOpenSSLAtExit), so its
# process-lifetime state is never freed: OPENSSL_cleanup at exit raced the
# threads Node owns that can still be inside OpenSSL.
leak:OPENSSL_init_crypto
# Node islands (scope-B NI-7c): Node's root certificates (bundled, system
# store, NODE_EXTRA_CA_CERTS) live in function-local statics that Node's
# per-process teardown frees; a scriptc program leaves that teardown to
# process exit (scr_node_bridge.cc, Stop), and the vectors' own destructors
# drop the last pointers at exit.
leak:node::crypto::LoadCACertificates
leak:node::crypto::LoadSystemCACertificates
leak:node::crypto::GetBundledRootCertificates
leak:node::crypto::GetSystemStoreCACertificates
leak:node::crypto::GetExtraCACertificates
leak:node::crypto::GetOpenSSLSystemCertificates
leak:node::crypto::LoadCertsFromBIO
# The certificates' lazily decoded keys, cached in them when a root store
# is built.
leak:node::crypto::NewRootCertStore