|
[求助]反汇编时怎么计算各个段的地址(例如数据段、代码段)
那么PE结构在VC2008的反汇编调试的情况下,该怎么设置才能看到?调试窗口中的那些段地址又是做什么用的,请指教。 |
|
[求助]《c++反汇编与逆向技术分析》
这里发出来跟大家分享一下,共同进步学习。 “Visual Studio2008中的 /GZ 选项:这个选项会做以下这些事: 初始化内存和变量。包括用 0xCC 初始化所有自动变量,0xCD ( Cleared Data ) 初始化堆中分配的内存(即动态分配的内存,例如 new ),0xDD ( Dead Data ) 填充已被释放的堆内存(例如 delete ),0xFD( deFencde Data ) 初始化受保护的内存(debug 版在动态分配内存的前后加入保护内存以防止越界访问),其中括号中的词是微软建议的助记词。这样做的好处是这些值都很大,作为指针是不可能的(而且 32 位系统中指针很少是奇数值,在有些系统中奇数的指针会产生运行时错误),作为数值也很少遇到,而且这些值也很容易辨认,因此这很有利于在 Debug 版中发现 Release 版才会遇到的错误。要特别注意的是,很多人认为编译器会用 0 来初始化变量,这是错误的(而且这样很不利于查找错误)。” |
|
[求助]《c++反汇编与逆向技术分析》
嗯,我再Release模式下查看了一下内存,的确是连续存储的了。多谢楼上的提醒。 |
|
[求助]学了10年C语言,现在还不会破解StarForce
lz太牛了,学习有十年了?那岂不是很小就接触编程了。 |
|
[求助]《c++反汇编与逆向技术分析》
我也觉得应该有可能是保护措施,看书上都是在VC6.0下调试是连续存储的。我一直在用VS2008,所以调试了很久感觉很困惑。不知道楼上的能够指点一下。 |
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值