Jump to content

Is there a way to debug running android games just like ios?


th0rn

9 posts in this topic

Recommended Posts

Posted

Ive been always wondering if theres a way to debug running games and watch addresses to receive an offset, similar to lldb or gdb for ios

is there a gdb or lldb like software for android? If so where can i find it and how can i use it?

Posted

Yes, there are both. You use GG to get the offset and add a watchpoint. I tried but any phone using the 'Snapdragon' chipset doesnt support hardware watchpoints. not sure about emulators. I am gonna try tomorrow on my friend's phone and report back

If you run on Android 5.0 or above, just install Termux and install gdb/lldb in it

Posted
2 hours ago, lHectorl said:

@TheArmKing So i manage to install lldb, but how can i attach it to the game?

you need to be rooted, you get the games PID in gameguardian, attach to it using GDB, set a watchpoint at the adress you hacked and press c to unfreeze the game, when the adres you added a watchpoint to changes, the game will freeze, gdb will give the binary(.so) hex adress and some register info 

But if your phone is using the qualcomm snapdragon chip, it most likely wont work, mine has snapdragon :(

Posted
7 minutes ago, TheArmKing said:

you need to be rooted, you get the games PID in gameguardian, attach to it using GDB, set a watchpoint at the adress you hacked and press c to unfreeze the game, when the adres you added a watchpoint to changes, the game will freeze, gdb will give the binary(.so) hex adress and some register info 

But if your phone is using the qualcomm snapdragon chip, it most likely wont work, mine has snapdragon :(

 

i undestand, but what i mean is how can i use lldb instead, do you have skype?

Posted
6 minutes ago, lHectorl said:

 

i undestand, but what i mean is how can i use lldb instead, do you have skype?

i have discord TheArmKing#1923

lldb is same except watchpoints r set using w s e something 

Archived

This topic is now archived and is closed to further replies.

×
  • Create New...

Important Information

We would like to place cookies on your device to help make this website better. The website cannot give you the best user experience without cookies. You can accept or decline our cookies. You may also adjust your cookie settings. Privacy Policy - Guidelines