匯東網


內存填充值一覽

[編輯] [转简体]
|
作者:huidong | 分類:【編程】C/C++
[ 18 瀏覽 0 評論 3 贊 7 踩 ]

概要
0xcccccccc, 0xccdcdcdcd, 0xfeeefeee 等

正文

* 0xABABABAB : Used by Microsoft's HeapAlloc() to mark "no man's land" guard bytes after allocated heap memory

* 0xABADCAFE : A startup to this value to initialize all free memory to catch errant pointers

* 0xBAADF00D : Used by Microsoft's LocalAlloc(LMEM_FIXED) to mark uninitialised allocated heap memory

* 0xBADCAB1E : Error Code returned to the Microsoft eVC debugger when connection is severed to the debugger

* 0xBEEFCACE : Used by Microsoft .NET as a magic number in resource files

* 0xCCCCCCCC : Used by Microsoft's C++ debugging runtime library to mark uninitialised stack memory

    VC debug 模式下,未初始化棧內存的值(烫烫烫)

* 0xCDCDCDCD : Used by Microsoft's C++ debugging runtime library to mark uninitialised heap memory

    VC debug 模式下,未初始化棧內存的值(屯屯屯)

* 0xDEADDEAD : A Microsoft Windows STOP Error code used when the user manually initiates the crash

* 0xFDFDFDFD : Used by Microsoft's C++ debugging heap to mark "no man's land" guard bytes before and after allocated heap memory

* 0xFEEEFEEE : Used by Microsoft's HeapFree() to mark freed heap memory

    用於標記堆上已釋放的內存


[ 3] [ 7]


 評論區  0 條評論

+ 添加評論