堆结构

 

new 返回的地址是堆的使用地址,该地址-0x20,得到堆结构首地址heaphead

[heaphead],上一个申请堆的heaphead

[heaphead + 0x4],下一个申请堆的heaphead

[heaphead + 0x8],文件路径

[heaphead + 0xC],文件行

[heaphead + 0x10],堆长度

[heaphead + 0x14],堆类型

[heaphead + 0x18],堆总次数

[heaphead + 0x1C],堆上溢

[heaphead + 0x20],堆使用空间

[heaphead + 0x20 + 0x堆长度],堆下溢

下溢之后的结构还没搞明白...

 

posted on 2016-10-28 12:26  NoneButNow  阅读(114)  评论(0编辑  收藏  举报

导航