Finding memory overruns
I have a legacy C++ code which is ported to Android. When calling free on strings, a random crash is occurring. Crash is observed in ran开发者_运维知识库dom places. Is there a tool which can be used to check the memory overruns?
If it's due to an underlying bug that only happens to cause issues on Android, can you just run it on the legacy platform using Valgrind?
You could try my non-intrusive heap debugger.
精彩评论