Hacker News new | past | comments | ask | show | jobs | submit login

I found an obscure dirty joke on p. 46 of the Mac OS X Assembler Guide. [1]

  .fill 69,4,0xfeadface | put out 69 0xfeadface’s
[1] http://personal.denison.edu/~bressoud/cs281-s07/Assembler.pd...



AIX used to (probably still does) use DEADBEEF as a hex value to clear memory out.


https://en.wikipedia.org/wiki/Hexspeak

There are some fun entries there for hex values used as magic numbers.

Apple have some great ones used in their crash report exception types - 0x2bad45ec (too bad for sec) and 0xc00010ff in the event of being killed for overheating.



I’m surprised it’s not 0xfeedface, the magic for 32-bit Mach-O binaries.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: