CONFIG_TEST_HW_STACK_PROTECTION

Enable hardware-based stack overflow detection if available

Type: bool

Help

This option will enable hardware-based stack protection by default for all test cases if the hardware supports it.

Direct dependencies

ARCH_HAS_STACK_PROTECTION && TEST

(Includes any dependencies from ifs and menus.)

Symbols selected by this symbol

Kconfig definition

At <Zephyr>/subsys/testsuite/Kconfig:113

Included via <Zephyr>/Kconfig:8<Zephyr>/Kconfig.zephyr:34<Zephyr>/subsys/Kconfig:55

Menu path: (Top) → Sub Systems and OS Services → Testing

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.)