-
CONFIG_ASAN
¶
Build with address sanitizer
Type: bool
Help¶
Builds Zephyr with Address Sanitizer enabled. This is currently
only supported by the native_posix port, and requires a recent-ish
compiler with the -fsanitize=address
command line option, and
the libasan library.
Defaults¶
No defaults. Implicitly defaults to n
.
Kconfig definition¶
At subsys/debug/Kconfig:65
Included via Kconfig:10
→ Kconfig.zephyr:39
→ subsys/Kconfig:14
Menu path: (top menu) → Debugging Options
config ASAN bool prompt "Build with address sanitizer" ifARCH_POSIX
depends onARCH_POSIX
help Builds Zephyr with Address Sanitizer enabled. This is currently only supported by the native_posix port, and requires a recent-ish compiler with the-fsanitize=address
command line option, and the libasan library.
(Definitions include propagated dependencies, including from if’s and menus.)