RudjiGames / MTuner

MTuner is a C/C++ memory profiler and memory leak finder for Windows, PlayStation 4 and 3, Android and other platforms
BSD 2-Clause "Simplified" License
2.63k stars 145 forks source link

sdk with android has some problem #104

Closed chena1982 closed 11 months ago

chena1982 commented 11 months ago

I used the sdk for android 64bit,

  1. the stack address seems error image image stack address much bigger than module base address.

  2. android process path is /system/bin/app_process64 for every app, so when mtuner get executablePath, it would be a error.

  3. module don't get end address.

  4. android app ext is not "elf"

  5. use sdk we can get cpu memory info, but can't get gpu memory info, can't call rmemAlloc from gpu drive. can we hook the malloc and free? seems sdk don't provide the hook api on android.

milostosic commented 11 months ago

Hi, thanks for trying this out - at least one obvious bug is there (module end address). However, please keep in mind that MTuner is basically on life support - I really don't have much free time, MTuner is definitely not my priority and I... strongly dislike Android, so best if you can figure this one out :/