Professional Documents
Culture Documents
StackAnalyzer automatically determines the worst-case stack usage of the tasks in your
application. The analysis results are shown as annotations in the call graph and control flow
graph.
Features
Detailed and precise information on both user stack and system stack usage by
application tasks
Stack analysis for all hierarchy levels: routines, basic blocks, assembly instructions
Freely selectable entry points for the analysis
Immediate recognition of critical program sections thanks to customizable color
coding (see screenshots)
Why do you need StackAnalyzer?
Stack memory has to be allocated statically by the programmer. Underestimating stack
usage can lead to serious runtime errors which can be difficult to find. Overestimating stack
usage means a waste of memory resources.
StackAnalyzer provides automatic tool support to calculate the stack usage of your
application. The analysis results are valid for all inputs and each task execution.
StackAnalyzer not only reduces development effort but also helps to prevent
runtime errors due to stack overflow.
The analysis results provide valuable feedback in optimizing the stack usage of
your application.
Availability
o GCC
o x86rm (realmode)/ic86
o M68k/GCC
o M68k/HP68K
o TriCore/TASKING (Altium)
o NEW: TriCore/HighTec gcc
o NEW: ARC/Metaware
Stack depth/height analysis for further target processors and compilers is currently under
development. Please do not hesitate to contact us for more information.
StackAnalyzer is now also available as an integral part of the SCADE Suite, the market-
leading mission and safety-critical embedded software development environment from
Esterel Technologies. SCADE is the only model-based design solution to offer DO-178B
qualified C code generation up to level A, certified IEC 61508 C code generation up to SIL
3 and certified EN 50128 C code generation up to SIL 4. Thanks to StackAnalyzer, SCADE
is the first embedded-software development environment worldwide to feature stack usage
analysis at the model level.