Breakpoint 1 at 0xafc80bc
(gdb) disassemble 0xafc80bc
Dump of assembler code for function snsCheckOut:
0x0afc80bc
0x0afc80be
0x0afc80bf
0x0afc80c0
0x0afc80c1
0x0afc80c2
0x0afc80c8
0x0afc80cd
0x0afc80ce
0x0afc80d4
0x0afc80d7
0x0afc80da
将
55 89 e5 57 56 53 81 ec 2c 34 00 00
替换成
31 c0 c3 57 56 53 81 ec 2c 34 00 00
替换时0x342c 变成2c 34
检验是否成功:
(gdb) break snsCheckOut
Breakpoint 1 at 0xafc80bc
(gdb) disassemble 0xafc80bc
Dump of assembler code for function snsCheckOut:
0x0afc80bc
0x0afc80be
0x0afc80bf
0x0afc80c0
0x0afc80c1
0x0afc80c2
No comments:
Post a Comment