-
CONFIG_ASAN_NOP_DLCLOSE
¶
Override host OS dlclose() with a NOP
Type: bool
Help¶
Override host OS dlclose() with a NOP.
This NOP implementation is needed as workaround for a known limitation in LSAN (leak sanitizer) that if dlcose is called before performing the leak check, “<unknown module>” is reported in the stack traces during the leak check and these can not be suppressed, see https://github.com/google/sanitizers/issues/89 for more info.
Kconfig definition¶
At subsys/debug/Kconfig:61
Included via Kconfig:8
→ Kconfig.zephyr:44
→ subsys/Kconfig:12
Menu path: (Top) → Debugging Options → Build with address sanitizer
config ASAN_NOP_DLCLOSE bool "Override host OS dlclose() with a NOP" default y ifHAS_SDL
depends onASAN
help Override host OS dlclose() with a NOP. This NOP implementation is needed as workaround for a known limitation in LSAN (leak sanitizer) that if dlcose is called before performing the leak check, "<unknown module>" is reported in the stack traces during the leak check and these can not be suppressed, see https://github.com/google/sanitizers/issues/89 for more info.
(The ‘depends on’ condition includes propagated dependencies from ifs and menus.)