What the memory values like 0xCDCDCDCD denotes?

November 20th, 2009 | by | technology

Nov
20

Check the Funny Memory Values information written by Samuel R. Blackburn and the Memory Management and the Debug Heap in MSDN.


Value Description
0xCDCDCDCD Allocated in heap, but not initialized
0xDDDDDDDD Released heap memory.
0xFDFDFDFD “NoMansLand” fences automatically placed at boundary of heap memory. Should never be overwritten. If you do overwrite one, you’re probably walking off the end of an array.
0xCCCCCCCC Allocated on stack, but not initialized.

No Comments »