Thanks to bimba.
0xcccccccc
When the code is compiled with the /GZ option, uninitialized variables are automatically assigned to this value (at byte level). - you define a variable - this is its default value
0xdddddddd
After you delete an object - Memory that has been released with delete or free. It is used to detect writing through dangling pointers.
0xcdcdcdcd
Allocated memory via malloc or new but never written by the application.
0xfdfdfdfd
Also known as "no mans land." This is used to wrap the allocated memory (like surrounding it with fences) and is used to detect indexing arrays out of bounds.
0xBAADFOOD(bad food)
Memory allocated by LocalAlloc() with LMEM_FIXED, but not yet written to.
0xabababab
Memory allocated by LocalAlloc()
Thursday, June 18, 2009
"funny" memory values
Subscribe to:
Post Comments (Atom)
0 תגובות:
Post a Comment