• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: [OT] Debugger protection (was: Implementing Licensing ...)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [OT] Debugger protection (was: Implementing Licensing ...)


  • Subject: Re: [OT] Debugger protection (was: Implementing Licensing ...)
  • From: Ondra Cada <email@hidden>
  • Date: Thu, 8 Apr 2004 23:57:43 +0200

John,

On Thursday, Apr 8, 2004, at 23:46 Europe/Prague, John Stiles wrote:

Self-modifying code would of cause not be very good for non-x86 platforms.

Why is that? I don't see any reasons (aside from the obvious horribleness of it) why it's an x86 specific thing... It was certainly a fairly common thing to do back in my 68000 days.

Just try that on Mac in OS X, you'll see immediately ;)

You can do it just fine if you make a few handy Mach calls first.

Well try _that_ and you'll see what separate code and data cache really mean ;) That was, IIRC, a very big hurdle when 68040 (or was it 68030? Can't remember, too long ago) came: a vast majority of programs which used self-modifying code just ceased working ;)))
---
Ondra Hada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: [OT] Debugger protection (was: Implementing Licensing ...)
      • From: p3consulting <email@hidden>
References: 
 >Re: [OT] Debugger protection (was: Implementing Licensing ...) (From: John Stiles <email@hidden>)

  • Prev by Date: setNeedsDisplay: thread safe?
  • Next by Date: Re: fileExistsAtPath: NO means YES? (Doc error)
  • Previous by thread: Re: [OT] Debugger protection (was: Implementing Licensing ...)
  • Next by thread: Re: [OT] Debugger protection (was: Implementing Licensing ...)
  • Index(es):
    • Date
    • Thread