:orphan: .. title:: CONFIG_UBSAN .. kconfig:: CONFIG_UBSAN CONFIG_UBSAN ############ *Build with undefined behavior sanitizer* Type: ``bool`` Help ==== .. code-block:: none Builds Zephyr with Undefined Behavior Sanitizer enabled. This is currently only supported by boards based on the posix architecture, and requires a recent-ish compiler with the ``-fsanitize=undefined`` command line option. Direct dependencies =================== \ :kconfig:`ARCH_POSIX ` *(Includes any dependencies from ifs and menus.)* Defaults ======== No defaults. Implicitly defaults to ``n``. Kconfig definition ================== At ``/debug/Kconfig:124`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:17`` Menu path: (Top) → Sub Systems and OS Services → Debugging Options .. code-block:: kconfig config UBSAN bool "Build with undefined behavior sanitizer" depends on ARCH_POSIX help Builds Zephyr with Undefined Behavior Sanitizer enabled. This is currently only supported by boards based on the posix architecture, and requires a recent-ish compiler with the ``-fsanitize=undefined`` command line option. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*