Almost as good as a guru meditation message…

  • Avatar

    Posted: 30 October 2006 07:22 PM

    From http://osxbook.com/book/bonus/chapter7/binaryprotection/index.html - try this:

    Create a c prog called dsmos.c with this in it:

    main()
    {
            puts
    (-16 4096 0x1600);

    Compile it:

    gcc -o dsmos dsmos.

    Run it:

    ./dsmos 

    Laugh!

    :D

    Signature

    Laurie Fleming - the singing geek

    @LaurieFleming

         
  • Avatar

    Posted: 18 October 2007 12:13 PM #1

    Classic!

    I just did this within Xcode, and you are correct. The results are so typically Apple. I love it.  :D

    Signature

    Just remember one thing….

         
  • Avatar

    Posted: 18 October 2007 06:34 PM #2

    Doesn’t seem to work on my G5.  All I get is a seg fault.  I did notice that the page linked mentioned intel Macs.

    Signature

    According to statistics, half the world is below average intelligence
    "The power of accurate observation is commonly called cynicism by those who have not got it."-George Bernard Shaw
    "You can’t change that by gettin’ all…bendy."

         
  • Avatar

    Posted: 18 October 2007 09:04 PM #3

    [quote author=“dsmos kernel extension”]Your karma check for today:
    There once was was a user that whined
    his existing OS was so blind,
    he’d do better to pirate
    an OS that ran great
    but found his hardware declined.
    Please don’t steal Mac OS!
    Really, that’s way uncool.
      (C) Apple Computer, Inc.U??VWS?5P

    Signature

    Laurie Fleming - the singing geek

    @LaurieFleming

         
  • Avatar

    Posted: 19 October 2007 05:06 PM #4

    Yeah, I saw what it said on the original page.  What I suspect is that the differences between how Intel x86 and IBM PPC do addressing prevent this trick from working on a PowerPC based Mac.  I’d actually expect that to be the case.

    Signature

    According to statistics, half the world is below average intelligence
    "The power of accurate observation is commonly called cynicism by those who have not got it."-George Bernard Shaw
    "You can’t change that by gettin’ all…bendy."