The latest development version of this page may be more current than this released 2.7.5 version.

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

Default

Symbols selected by this symbol

Kconfig definition

At subsys/testsuite/Kconfig:113

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

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