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
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