(gdb) x/x $sp+0x10 show
(gdb) x/x $sp+0x10
0xabcd 1234
Than mean sp+0x10 value is 0xabcd and it's a pointer to 1234
How can I change this pointer to 0xbbbb that point to 5678?
If I tried set $sp+0x10 = 0xbbbb that corrupt the program because that change the stack.
set $sp+0x10 = 0xbbbb
How can I change that $sp+0x10 will point to 5678? something like set [$sp+0x10] = 5678
set [$sp+0x10] = 5678
1.4m articles
1.4m replys
5 comments
56.9k users