|
[求助]context.eax的位置b0来得没道理啊
不用谢 我也喜欢钻牛角尖 结构体嵌套 确实容易看错成结构体指针 |
|
[求助]context.eax的位置b0来得没道理啊
WINDBG EAX 上面一共有16个dword 共64byte 一个FLOATING_SAVE_AREA结构,其中有8个dword和一个80字节数组,共计32+80=112byte 64+112=176=0xb0 |
|
[求助]context.eax的位置b0来得没道理啊
context是和硬件相关的一个结构 在winnt。h里有两个定义 一个for x86一个for x64 这个是x86的 |
|
[求助]context.eax的位置b0来得没道理啊
nt!_CONTEXT +0x000 ContextFlags : Uint4B +0x004 Dr0 : Uint4B +0x008 Dr1 : Uint4B +0x00c Dr2 : Uint4B +0x010 Dr3 : Uint4B +0x014 Dr6 : Uint4B +0x018 Dr7 : Uint4B +0x01c FloatSave : _FLOATING_SAVE_AREA +0x08c SegGs : Uint4B +0x090 SegFs : Uint4B +0x094 SegEs : Uint4B +0x098 SegDs : Uint4B +0x09c Edi : Uint4B +0x0a0 Esi : Uint4B +0x0a4 Ebx : Uint4B +0x0a8 Edx : Uint4B +0x0ac Ecx : Uint4B +0x0b0 Eax : Uint4B +0x0b4 Ebp : Uint4B +0x0b8 Eip : Uint4B +0x0bc SegCs : Uint4B +0x0c0 EFlags : Uint4B +0x0c4 Esp : Uint4B +0x0c8 SegSs : Uint4B +0x0cc ExtendedRegisters : [512] UChar |
|
[翻译]调用约定解释
调用约定只是表示参数传递方式和栈平衡方式,和开不开fpo没什么关系 开fpo的函数和未省略栈指针函数的区别在于,局部变量、参数等通过esp+x寻址而不是通过ebp+、-x来寻址 当然最明显的区别就是没有了 标准的那几条栈帧构建指令 对于调试来说,开fpo之后,就没办法通过 ebp 来回溯调用关系了,开了fpo的函数会漏掉 |
|
关于call的参数/寄存器查询的一个问题
如三楼所说的,对于这种带有标准栈指针的函数 ebp+4 是返回地址 其余的ebp+x都是参数 ebp-x都是局部变量 至于有几个参数,单从这些还看不出来 你贴的这个是_cdecl 看看对这个sub的引用,调用之后add esp多少 就是多少参数了 如果是stdcall 那就retn 多少 就多少个参数 |
|
关于call的参数/寄存器查询的一个问题
BOOL __cdecl fun(int x) { BOOL resualt;//[ebp-4] if(x>0x8672 || x<0x3123) resualt = FALSE; else resualt = TRUE; return resualt; } |
|
|
|
[求助]调试时, OD抛异常退出, 异常为浮点运算错误。
od是调试器 调试器怎么会抛异常 你意思应该是被调试进程抛出了异常 shift f9 忽略该异常 走程序自己的异常处理 看看异常处理handler有没有把这异常处理掉 处理掉说明这不是什么错误 而是程序故意抛出的异常 |
|
[原创]新手入门,破解了一个小程序,求邀请码,谢谢
不是破解个东西而是分析个东西,哪怕没破解,只要清楚的描述了分析结果,分析思路,对别人都是有帮助的,邀请码自然有人给你 |
|
[原创]为你的驱动挂上外挂 - 嵌入反汇编引擎
谢谢 下载收藏 |
|
[推荐]推荐个软件 DiskGenius
估计说的是pm吧 partition manager |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值