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 subsys/testsuite/Kconfig:114

Included via Kconfig:8Kconfig.zephyr:44subsys/Kconfig:36

Menu path: (Top) → 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.)