aiSee Application Examples: StackAnalyzer

StackAnalyzer screenshot

In embedded systems, 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 the solution to this problem: It automatically determines maximum stack usage of the tasks in your application. The analysis results are visualized with aiSee, which is fully integrated into the StackAnalyzer. Stack height differences are shown as annotations in the application’s call graph and control flow graph. Critical program sections can be immediately recognized thanks to customizable color coding.