-
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 <Zephyr>/subsys/debug/Kconfig:117
Included via <Zephyr>/Kconfig:8
→ <Zephyr>/Kconfig.zephyr:34
→ <Zephyr>/subsys/Kconfig:17
Menu path: (Top) → Sub Systems and OS Services → 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.)