For all arches except ARC, enable stack sentinel and test that some common stack violations trigger exceptions. For ARC, use the hardware stack checking feature. Additional testcase.ini blocks may be added to do stack bounds checking for MMU/MPU-based stack protection schemes. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
12 lines
230 B
INI
12 lines
230 B
INI
# Uses CONFIG_STACK_SENTINEL
|
|
[stack-sentinel]
|
|
tags = core ignore_faults
|
|
arch_exclude = arc
|
|
|
|
# Uses CONFIG_ARC_STACK_CHECKING
|
|
[arc-stack-checking]
|
|
tags = core ignore_faults
|
|
extra_args = CONF_FILE=prj-arc.conf
|
|
arch_whitelist = arc
|
|
|