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 if’s and menus.)

Defaults

Symbols selected by this symbol

Kconfig definition

At subsys/testsuite/Kconfig:89

Included via Kconfig:10Kconfig.zephyr:39subsys/Kconfig:38

Menu path: (top menu) → Testing

config TEST_HW_STACK_PROTECTION
    bool
    prompt "Enable hardware-based stack overflow detection if available" if ARCH_HAS_STACK_PROTECTION && TEST
    default "y" if ARCH_HAS_STACK_PROTECTION && TEST
    select HW_STACK_PROTECTION if ARCH_HAS_STACK_PROTECTION && TEST
    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.

(Definitions include propagated dependencies, including from if’s and menus.)