• Advertisement

Archived

This topic is now archived and is closed to further replies.

0xbaadf00d

This topic is 5036 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I was debugging my app, and a pointer to a new block had address 0xbaadf00d I thought that was kinda funny, as I just had eaten a really lousy dinner :-)

Share this post


Link to post
Share on other sites
Advertisement
heh,

yeah we use:

0xDEADBEEF

or maybe that's a sony ps2 thing. either way i see it all the time

-me

[edited by - Palidine on May 6, 2004 8:42:48 PM]

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
we used to use 0xDEADBEEF all the time an university...
still use it now at work. have also used 0xBAADBEEF, 0xCAFEDEAD
haven''t ever tried to think of more though, and haven''t seen BAADFOOD before.

ha.

Share this post


Link to post
Share on other sites
Cow_in_the_Well has one where it sad 0xDEADCODE which was rather entertaining.

Share this post


Link to post
Share on other sites
That would be even funnier if it weren''t for the two high bits being set :D

Share this post


Link to post
Share on other sites
Well java class files (or some java files) have 0xCAFEBABE as a signature somewhere in there

Share this post


Link to post
Share on other sites
quote:
Original post by Anonymous Poster
we used to use 0xDEADBEEF all the time an university...
still use it now at work. have also used 0xBAADBEEF, 0xCAFEDEAD
haven''t ever tried to think of more though, and haven''t seen BAADFOOD before.



I believe on AIX 0xDEADBEEF is used whenever there is a memory problem.

Some time ago I read about someone programming a Z80 system a long time ago. Maybe you''ve seen those, just a board with 4K RAM, a 4-digit hexadecimal display and a 16 key keyboard to input hex codes. If anything went wrong it would print 2BAD on the display and halt the CPU, forcing you to reboot and lose your program.

Share this post


Link to post
Share on other sites
Guest Anonymous Poster
quote:
Original post by FReY
Well java class files (or some java files) have 0xCAFEBABE as a signature somewhere in there


Yep, class files - 0xCAFEBABE is the first two bytes of any compiled bytecode. It''s a magic number - a simple first check that the file is worth attempting to load.

--cfmdobbie

Share this post


Link to post
Share on other sites

  • Advertisement