Keil™, An ARM® Company

Technical Support

RL-ARM: DETECTING STACK OVERFLOWS


Information in this article applies to:

  • RL-ARM All Versions

QUESTION

How can I detect a stack overflow with the RTX kernel?

ANSWER

The RTX kernel in RL-ARM has a build-in detection for stack overflows. runs in User Mode. The Stack Checking is configured in the RTX_Config.C source file and calls the function os_stk_overflow which can be used to determine the task that has cause a stack overrun.

MORE INFORMATION

  • RL-ARM User's Guide, RTX Kernel, Configuring RTX Kernel, Configuration, Stack Checking

Last Reviewed: Monday, October 16, 2006


Did this article provide the answer you needed?
 
Yes
No
Not Sure