a. saleh
a. saleh

Reputation: 5

How can I trace the value of an address in memory?

As the title suggests, I want to see from where came the value of a specific address. I am debugging an ios game with lldb. This game has a muliplier value of 0.4 (how fast combos decrease). I can change this value with cheat engine, but I want to know which instruction in assembly set this value to that address so I can change this instruction with hex editor. I used to use watchpoints breakpoints etc.. for variable values, but in this case, the value is constant and it is set when the app starts immediately.

Upvotes: 0

Views: 477

Answers (1)

Jim Ingham
Jim Ingham

Reputation: 27110

The equivalent instructions in lldb for Jester's gdb steps are:

(lldb) image lookup -va <ADDRESS>

That will tell you everything lldb knows about that address.

Upvotes: 2

Related Questions