- 论坛徽章:
- 6
|
test2反汇编- 080483f9 <test2>:
- 80483f9: 55 push %ebp
- 80483fa: 89 e5 mov %esp,%ebp
- 80483fc: 83 ec 18 sub $0x18,%esp
- 80483ff: 8d 45 08 lea 0x8(%ebp),%eax
- 8048402: 89 45 fc mov %eax,0xfffffffc(%ebp)
- 8048405: 83 45 fc 04 addl $0x4,0xfffffffc(%ebp)
- 8048409: 8b 45 fc mov 0xfffffffc(%ebp),%eax
- 804840c: 8b 00 mov (%eax),%eax
- 804840e: 89 44 24 04 mov %eax,0x4(%esp)
- 8048412: c7 04 24 60 85 04 08 movl $0x8048560,(%esp)
- 8048419: e8 9a fe ff ff call 80482b8 <printf@plt>
- 804841e: 83 45 fc 04 addl $0x4,0xfffffffc(%ebp)
- 8048422: 8b 45 fc mov 0xfffffffc(%ebp),%eax
- 8048425: 8b 00 mov (%eax),%eax
- 8048427: 89 44 24 04 mov %eax,0x4(%esp)
- 804842b: c7 04 24 60 85 04 08 movl $0x8048560,(%esp)
- 8048432: e8 81 fe ff ff call 80482b8 <printf@plt>
- 8048437: c9 leave
- 8048438: c3 ret
复制代码- 8048405: 83 45 fc 04 addl $0x4,0xfffffffc(%ebp)
复制代码 这句对应的是p++,其实是在栈上向移动到了下一个地址 |
|