Tuesday, November 30, 2010

What is 4277075694

Hi, it is NISHIO Hirokazu. I encountered the magic number, 4277075694, when I hacked on Windows. I searched where it comes from. However, it doesn't appear on any code. I also searched 0xFEEEFEEE, 0xFEEE and 65262, and it neither.

Finally I found: 4277075694 (0xFEEEFEEE) comes from Windows NT's heap manager. When a memory released, it is set to 0xFEEEFEEE.

Here are other magic numbers:

0xBAADF00D : 3131961357
0xFDFDFDFD : 4261281277
0xCDCDCDCD : 3452816845
0xDDDDDDDD : 3722304989
0xFEEEFEEE : 4277075694

Here is good instruction: Win32 Debug CRT Heap Internals

No comments: