Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save snickerbockers/2b76282e09abf1607c9a5f38427e42f1 to your computer and use it in GitHub Desktop.
Save snickerbockers/2b76282e09abf1607c9a5f38427e42f1 to your computer and use it in GitHub Desktop.
the answer
(gdb) hbreak *0x0c17218a
Hardware assisted breakpoint 1 at 0xc17218a
(gdb) c
Continuing.
Breakpoint 1, 0x0c17218a in ?? ()
1: x/i $pc
=> 0xc17218a: mov.l @r10,r8
(gdb) si
p0x0c17218c in ?? ()
1: x/i $pc
=> 0xc17218c: mov r13,r4
(gdb) p $r8
$3 = 0
(gdb) set $r8=0xffffffff
(gdb) c
Continuing.
@snickerbockers
Copy link
Author

(gdb) p/x $r10
$14 = 0xa080203c

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment