Windows CRT Debug Heap

来源:互联网 发布:2个月瘦10斤 知乎 编辑:程序博客网 时间:2024/05/18 03:22

0xBAADF00D : Bad food          Give by the heap operations, like HeapAlloc, LocalAlloc, GlobalAlloc

0xCD : Clean Data                  Give by the malloc

0xDD : Dead Data                   Give by the free

0xFD : Fence Data                  Give by the malloc

0xFEEEFEEE : Free Data         Give by HeapFree

0xABABABAB : Heap allocation GAP, Give by the heap operations, like HeapAlloc, LocalAlloc, GlobalAlloc

 

8   bytes : Win32 heap info

32 bytes : CRT bookkeeping

XX bytes : Required data

4   bytes : CRT GAP

?? bytes :  Round if necessary

32 bytes: Win32 bookkeeping

 

(This pic snapshot from "Win32 Debug CRT Heap Internals")

原创粉丝点击