首页
社区
课程
招聘
[求助]XP下IE7中的堆释放问题?
2011-7-5 15:31 3980

[求助]XP下IE7中的堆释放问题?

2011-7-5 15:31
3980
在win xp sp2下的ie7,对某个地址下写访问断点,结果来到ntdll!RtlpLowFragHeapFree,也就是会用该函数释放(前面的地址指向一个对象)。
但个人觉得RtlpLowFragHeapFree该函数貌似只有在vista之后启用LFH堆才有用吧, 怎么在xp sp2下也用LFH堆?

0:005> ba w4 001c3968
0:005> g
Breakpoint 1 hit
eax=00db0000 ebx=008800e9 ecx=0000000d edx=00000089 esi=001d3678 edi=001c3960
eip=7c9521a7 esp=01acfaf8 ebp=01acfb28 iopl=0         nv up ei pl nz ac pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000216
ntdll!RtlpLowFragHeapFree+0x7c:
7c9521a7 250000ffff      and     eax,0FFFF0000h

阿里云助力开发者!2核2G 3M带宽不限流量!6.18限时价,开 发者可享99元/年,续费同价!

收藏
点赞0
打赏
分享
最新回复 (2)
雪    币: 113
活跃值: (100)
能力值: ( LV4,RANK:50 )
在线值:
发帖
回帖
粉丝
ronging 2011-7-7 22:37
2
0
<软件调试>一书中有LFH的简单介绍,上面说XP已经有了这个功能。可能就是SP2带的吧。
雪    币: 500
活跃值: (195)
能力值: ( LV13,RANK:270 )
在线值:
发帖
回帖
粉丝
冰雪风谷 6 2011-7-27 17:46
3
0
Windows XP, Windows Server 2003, and Windows 2000 with hotfix KB 816542:  
The LFH is not enabled by default.
To enable the LFH for the specified heap, set the variable pointed to by the HeapInformation parameter to 2. After the LFH is enabled for a heap, it cannot be disabled.
游客
登录 | 注册 方可回帖
返回