Quantcast
Channel: Infineon Forums
Viewing all articles
Browse latest Browse all 9892

Stack depth analysis tool

$
0
0
Hi,

You could use a empirical way: fill the stack with a known pattern, e.g. 0x5a 0x5a... , run the application and after some time check how many of the pattern has been overwritten.
Another way is using the -fstack-usage compiler option. You can find more information at http://www.dlbeer.co.nz/oss/avstack.html.

Regards,
Jesus

Viewing all articles
Browse latest Browse all 9892

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>