1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
RIOT/core/lib
Sören Tempel 80116651c2 core: Treat stack overflows as an unrecoverable error
Presently, RIOT just emits a warning when a stack overflow is
encountered but still resumes execution. In my view, execution should be
aborted as the detection of a stack overflows via the heuristic provided
by the scheduler is an unrecoverable error.

I ran into this while performing automated tests of a RIOT application
where a stack overflow occurred but I only noticed this after inspecting
the application output more closely.

Similar to SSP failures, I added crash_code for stack overflows.
2022-08-12 05:26:22 +02:00
..
include core: Treat stack overflows as an unrecoverable error 2022-08-12 05:26:22 +02:00
assert.c cpu: cpu_print_last_instruction() -> cpu_get_caller_pc() 2022-09-15 10:49:56 +02:00
atomic_c11.c core: split out library code 2022-03-09 21:43:05 +01:00
atomic_sync.c core: split out library code 2022-03-09 21:43:05 +01:00
bitarithm.c bitarithm: Move extern const out of static inline functions 2022-05-29 13:59:39 +02:00
clist.c core: split out library code 2022-03-09 21:43:05 +01:00
init.c core/thread, mutex: provide dummy implementation for riotboot 2022-05-02 13:18:39 +02:00
Makefile core: split out library code 2022-03-09 21:43:05 +01:00
panic.c core/assert: print last instruction in assert() 2022-06-12 14:18:53 +02:00
priority_queue.c core: split out library code 2022-03-09 21:43:05 +01:00
ringbuffer.c core: split out library code 2022-03-09 21:43:05 +01:00
rmutex.c core: split out library code 2022-03-09 21:43:05 +01:00