任何人都知道“mov edi,edi”是什么?做?
69A8AB13 int 3
69A8AB14 int 3
69A8AB15 mov edi,edi
69A8AB17 push ebp
69A8AB18 mov ebp,esp
mov edi,edi
对我来说没有意义,它有什么用?
69A8AB13 int 3
69A8AB14 int 3
69A8AB15 mov edi,edi
69A8AB17 push ebp
69A8AB18 mov ebp,esp
mov edi,edi
doesn't make sense for me,what's it for?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
根据此页面: StackExchange 的逆向工程
在 x86-64 mov edi 中,edi 不是 NOP。在 x86-64 中,它将 rdi 的前 32 位归零。
我认为指出这一点很重要,作为对 snoone 答案的补充。
According to this page: StackExchange's Reverse Engineering
In x86-64 mov edi,edi is not a NOP. In x86-64 it zeroes the top 32 bits of rdi.
I though it was important enough to point it out, in supplement to snoone's answer.
这是一条 2 字节 NOP 指令。它包含在使用 /hotpatch 选项编译的映像中任何函数的开头:
http://msdn.microsoft.com/en-us/library/ms173507.aspx
-scott
It's a 2 byte NOP instruction. It gets included at the beginning of any function in an image compiled with the /hotpatch option:
http://msdn.microsoft.com/en-us/library/ms173507.aspx
-scott