|
|
|
[win32汇编] lea指令为什么不能用addr 代替呢?
[QUOTE=NutCracker;1349641]自以为是了吧。 局部变量是用[ebp-n]这种形式构造的, 跟EAX没有任何关系。 而[ebp-n]是不可以用addr或offset取其偏移地址的,只能用lea。[/QUOTE] 谢谢大哥回复,听你的意思 在我的这个例子里面是局部变量所以只能用lea。 但是在我经常看见在子程序里面局部变量用 addr 例如 local @szBuffer[128]:byte invoke wsprintf,addr @szBuffer,addr szFormat,wParam invoke MessageBox,hWnd,addr @szBuffer,addr szCaption,MB_OK or MB_ICONINFORMATION 这又作何解释呢? |
|
[win32汇编] lea指令为什么不能用addr 代替呢?
已经知道答案了 结贴 因为且 addr 的对象是个局部变量 的话 编译器会使用寄存器eax。 此时 eax 的值已被更改 你不能再用它作为此函数的 参数了 |
|
[求助]有没有人专门整理插件啊,多好的资源啊
支持支持 我也在找这方面的文档 |
|
十五派(15PB)软件安全教育 ( 信安教育选品牌·十五派值得信赖 )
在年轻几岁还真想试试 |
操作理由
RANk
{{ user_info.golds == '' ? 0 : user_info.golds }}
雪币
{{ experience }}
课程经验
{{ score }}
学习收益
{{study_duration_fmt}}
学习时长
基本信息
荣誉称号:
{{ honorary_title }}
能力排名:
No.{{ rank_num }}
等 级:
LV{{ rank_lv-100 }}
活跃值:
在线值:
浏览人数:{{ visits }}
最近活跃:{{ last_active_time }}
注册时间:{{ user_info.create_date_jsonfmt }}
勋章
兑换勋章
证书
证书查询 >
能力值