如何在Windbg中确定堆是否已启用LFH(低碎片堆)? XP SP3和Vista / W7 / W8上有什么区别
编辑: 刚刚发现!heap -s中的最后一列显示了所有堆。
W7:
Heap Flags Reserv Commit Virt Free List UCR Virt Lock Fast
(k) (k) (k) (k) length blocks cont. heap
-------------------------------------------------------------------------------------
0000000000310000 00000002 1024 468 1024 112 29 1 0 0 LFH
XP SP3:
Heap Flags Reserv Commit Virt Free List UCR Virt Lock Fast
(k) (k) (k) (k) length blocks cont. heap
-----------------------------------------------------------------------------
00150000 00000002 4096 3496 3536 288 24 3 0 1 L