Files
rtems/testsuites/libtests/stackchk02/stackchk02.scn
Kinsey Moore b539af865e cpukit: Prevent error with disabled stack checker
When the stack checker is not enabled, the stack checker reporting
function can still be called. This prevents that call from performing a
null memory access in trying to find the high water mark if the stack
checker was never initialized.

This also introduces a test to ensure this call does not cause a crash.

Closes #4588
2022-01-27 13:07:30 -06:00

8 lines
341 B
Plaintext

*** TEST STACKCHK02 ***
STACK USAGE BY THREAD
ID NAME LOW HIGH CURRENT AVAIL USED
0x09010001 IDLE 0x10104940 0x1010713f 0x10107140 10224 N/A
0x0a010001 UI1 0x10109950 0x1010c14f 0x1010c150 10224 N/A
*** END OF TEST STACKCHK02 ***