|
[原创]已定
建议国家干脆改名叫:很不好意思奖 |
|
|
|
|
|
[求助]增加DLL重定位项的问题,有图有真相
这里的问题,不涉及映象大小问题.只是对齐的问题。 " 为了确定区块中的「基底重定位资料项」的个数,先把此值减去IMAGE_BASE_RELOCATION 结构大小(8 个字节),再除以 2 (WORD 大小)。如果此字段为 44 ,就表示有 18 个 " 记住这个就好了,不足之处补sizeof(WORD)即可.sizeof(word)的倍数,之前说错了,不是4的倍数 问题已经圆满的解决,再次感谢各位的热心! |
|
[求助]增加DLL重定位项的问题,有图有真相
确实写错了。每个块的大小定义必须是4的整数倍对齐. 系统遍历重定位表的时候原来是: while ( [IMAGE_DIRECTORY_ENTRY_BASERELOC].Size -=pIBR->SizeOfBlock ) ......... 理论上跟在什么节是没有啥关系,在遍历过程中都会进行fix。 一语惊醒梦中人,感谢! |
|
[求助]增加DLL重定位项的问题,有图有真相
谢谢指点! 我想,应该不是你说的对齐问题.为了验证你这个说法,我特意把代码写到rsrc节点末尾空隙处. 然后依然手工添加了重定位项.这次添加RVA也确实指向了rsrc段,并未超出. 之前忘记说了, 即使是超出了范围加载也是正常的,只是重定位项并未起作用,系统并没有对它进行修正。 这里的问题是,之所以加载不了,是因为增加新的重定位项后,修正了下DataDirectory[IMAGE_DIRECTORY_ENTRY_BASERELOC].Size 这个成员的大小. 只要改了这个大小,加载就不成功。如果不改,加载是没有问题的。 现在的问题是想知道为啥,增加的重定位没有起到作用??? |
|
[求助][求助][求助]关于CALL头部调用
看调用堆栈,寄存器,CALL 参数等,下条件断点 |
|
[讨论][道高一尺魔高一丈]杀毒软件哪,你就长点心吧
数字的本意是把未来潜在的牛人都扼杀在摇篮中 #- - |
|
[原创]猥琐的恢复InLineHOOK
楼主果断脱下裤子----放屁 |
|
|
操作理由
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 }}
勋章
兑换勋章
证书
证书查询 >
能力值