|
[求助]有没有intel格式转换为AT&T格式汇编的工具
找到写法了,是__asm__ volatile("call *%0;": :"r"(&Vector3::Normalize)); 似乎GCC是通过堆栈传递this指针的,而且这编译器比较“傻”,编译以后是类似 mov eax, Vector3::Normalize mov edx, 0 call eax 这种形式,不知道它为什么不直接编译call Vector3::Normalize得了,而且还非要将edx置0,而edx根本没用到。 |
|
[求助]有没有intel格式转换为AT&T格式汇编的工具
下载了udis86 ,不过不知道怎么用 问个另外的问题,VC内嵌汇编intel格式: _asm { mov ecx, object_pointer call Class::MemberFunc } 以上是调类成员函数的代码,要是用GCC编译,对应的AT&T格式的汇编代码要怎么写? __asm__ volatile("call *%0;": :"m"(Vector3::Normalize)); GCC下面Class::MemberFunc这种写法根本通不过,说不是静态函数不能这么写。 |
|
[求助]难题!有人知道D3DXMatrixRotationAxis的算法么?
我用反汇编已经得到替代函数了,不过还是想了解一下算法。 |
|
[求助]如何才能使窗口支持Tab键使焦点在不同的控件之间移动?
CDialog类在PretranslateMessage里面会处理Tab这类事件,但是CWnd没有,如果你的主窗口是用CreateWindowEx创建的,按Tab是没有反应的,除非用CreateDialogIndirect来创建主窗口…… |
|
|
|
[讨论]idiv到底有多慢?
特地在2005上试了一下,发现也还是这样优化的…… |
|
|
|
[求助]指针的地址一直不改变的可能原因?
0x0012xxxx很明显是栈上的地址啊!!! 可能是一个“一直”存在的局部变量,比如MFC的“对话框”框架下的CWinApp::m_pMainWnd,又如以下这种都有可能啊。 int main(int, char**) { CxxObject object; //指向object的地址就不可能会变 object.Init(); object.Run(); object.Exit(); } |
|
[求助]如果安全的 FreeLibrary 一个创建线程的 DLL
就算你把线程都关掉就一定有用么?你能保证主线程不会去调用DLL中的导出函数?你能保证你在卸载DLL的时候,主线程此时的EIP不在DLL的空间中么? |
|
[求助]如果安全的 FreeLibrary 一个创建线程的 DLL
印象中无法在DllMain里面“安全”的退出线程,除非用不安全的TerminateThread。 原因是线程正常退出时也会调用DllMain,fdwReason是DLL_THREAD_DETACH,但是由于正常停止线程的语句在等待线程退出,本身也在DllMain里面,而DllMain又是互斥的,最终导致死锁。一般可以多加一个导出函数用于停止所有线程,然后再FreeLibrary。 有没有记错就不知道…… |
|
|
|
[求助]请大家来解密一个bat
可以非常肯定地说,你这个不是批处理…… |
|
|
|
[求助]OD有没有停止调试的选项?
下载了OllyHelper插件,随便哪个Exe,就算是在入口处选Detach,分离后的进程都会出错,而且出错地址就是分离时的地址。 不知道是不是OD断下时修改了这个位置的数据,不过从LordPE dump出来的文件分析来看,并没有被修改过的样子。 LS两位用过这个功能么?你们用起来正常的? |
|
[求助]OD有没有停止调试的选项?
对阿,请问这个功能在哪里点?找不到…… 壳是可以脱掉,原先的Exe被加载的时候有一个250000-251000的Commit区段和251000-260000的Free区段,但是加着壳的Exe运行到OEP的时候,这个区段不翼而飞,后面的区段还会顺移跟上占据了250000的位置!?但是脱壳后的Exe在入口处,这个区段却还在,不知是不是这个原因,运行一下就会出错! 不知道它是怎么摘掉一个区段的,对哪个API下断点都不知道…… |
|
[求助]OD有没有停止调试的选项?
没这功能还真是折磨死我了。有个Exe只要开着OD就会被它检测出来,隐藏插件不起作用。目前我需要带壳调试,修改了代码后,如果F9,就会被检测出来。后来发现用VS2003的分离功能,可以躲过检测,因此只好用OD改完内存代码,记下二进制数据,再重新用VS2003打开改内存后分离运行…… |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值