ea8c4b91b5
The memset in the 'blow_up_stack' function can be optimized away as it is called in the end of the function on the buffer allocated on the stack (so it has 'no' effect on program execution) The 'stack_smasher' call can be optimized away as it's results isn't used anywhere and stack_smasher function has no visible side effects. Fix that by disabling optimization on these functions. Signed-off-by: Eugeniy Paltsev <Eugeniy.Paltsev@synopsys.com> |
||
---|---|---|
.. | ||
src | ||
CMakeLists.txt | ||
README | ||
prj.conf | ||
prj_arm_fpu_sharing.conf | ||
prj_armv8m_mpu_stack_guard.conf | ||
protection_no_userspace.conf | ||
sentinel.conf | ||
testcase.yaml |
README
This test case verifies that kernel fatal error handling works correctly. If a thread causes a CPU exception, and it is not in an ISR or "essential" thread, the thread gets aborted and the rest of the system executes normally.