:orphan: .. title:: CONFIG_TEST_HW_STACK_PROTECTION .. kconfig:: CONFIG_TEST_HW_STACK_PROTECTION CONFIG_TEST_HW_STACK_PROTECTION ############################### *Enable hardware-based stack overflow detection if available* Type: ``bool`` Help ==== .. code-block:: none This option will enable hardware-based stack protection by default for all test cases if the hardware supports it. Direct dependencies =================== \ :kconfig:`ARCH_HAS_STACK_PROTECTION ` && \ :kconfig:`TEST ` *(Includes any dependencies from ifs and menus.)* Default ======= - y if !\ :kconfig:`TEST_USERSPACE_WITHOUT_HW_STACK_PROTECTION ` Symbols selected by this symbol =============================== - \ :kconfig:`HW_STACK_PROTECTION ` Kconfig definition ================== At ``/testsuite/Kconfig:113`` Included via ``Kconfig:8`` → ``Kconfig.zephyr:44`` → ``/Kconfig:61`` Menu path: (Top) → Sub Systems and OS Services → Testing .. code-block:: kconfig config TEST_HW_STACK_PROTECTION bool "Enable hardware-based stack overflow detection if available" default y if !TEST_USERSPACE_WITHOUT_HW_STACK_PROTECTION select HW_STACK_PROTECTION depends on ARCH_HAS_STACK_PROTECTION && TEST help This option will enable hardware-based stack protection by default for all test cases if the hardware supports it. *(The 'depends on' condition includes propagated dependencies from ifs and menus.)*