자주 나오는 매직 발류들에 대해서 정리.
자세한 정보는 여기 참조.
* 0xCCCCCCCC : Allocated on stack, but not initialized
* 0xCDCDCDCD : Allocated in heap, but not initialized (Debug)
* 0xBAADF00D : Allocated in heap, but not initialized (Release)
* 0xDDDDDDDD : Released heap memory.
* 0xFDFDFDFD : automatically placed at boundary of heap memory. Should never be overwritten.
[ StackOverflow 펌 ]
* 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
* 0xCDCDCDCD : Used by Microsoft's C++ debugging runtime library to mark uninitialised
heap memory
* 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