We had the idea to measure the maximum stack-size used.
I did not found any references for this, but in case of single-threaded programs one way to measure it would be filling the stack below our current function full with magic-bytes, and then checking afterwards how much was overwritten.
We had the idea to measure the maximum stack-size used.
I did not found any references for this, but in case of single-threaded programs one way to measure it would be filling the stack below our current function full with magic-bytes, and then checking afterwards how much was overwritten.