Hi, 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 random places. Is there a tool which can be used to check the memory overruns?
+3
A:
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?
Oli Charlesworth
2010-10-21 16:38:37
Can Valgrind be run as static analyzer as it cannot be used inside Android?
Vinay
2010-10-21 16:42:10
I don't know if Valgrind has been ported to Android. What I'm suggesting is that presumably this "legacy" application used to run on some other platform. Does Valgrind support that old platform?
Oli Charlesworth
2010-10-21 16:44:21
Yes, it is supported
Vinay
2010-10-21 16:46:00