Skip to content
Guest Big Announcement

Testing offsets within gdb

Featured Replies

Hello, so recently I have been using gdb to hack things and its been working wonderfully, only problem is, when it comes to testing, I have to do it the long way which is editing binary in HxD and then resigning blah blah and retransfering it over to my device.

 

1) I know there is a quicker and much more efficient way in gdb by doing: set *0xOffset=0xHexCode

But I'm so confused. Which code is it talking about? arm hex, thumb hex, arm gdb/lldb, which one is it talking about? Am I doing something wrong. Because I edited the code the binary way and it worked fine. But it does nothing when I do the set command.

 

2) Sometimes I get this weird error in gdb saying: Cannot access memory address

Updated by Gaius

Solved by Rook

  • Author

http://armconverter.com/

 

It's 90% of the time Thumb GDB/LLDB

 

I don't see many ARM binaries floating around now.

 

Basically, gdb/lldb hex is simply reversed.

oh lmao so you type it in backwards?

Create an account or sign in to comment

Featured Content

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.