Jason Coco wrote:


The manpage also fails to mention the undocumented PT_DENY_ATTACH flag
that applications can pass to force ptrace to fail to attach.  Pro
Tools, for example, does this because the "programmers" who wrote it
spent twice as much time on the copy protection as on the actual
application.

My manpage for ptrace shows the PT_DENY_ATTACH flag. It's the second flag documented under requests...

Anyway, for what he wants to do (obviously not a commercial application), I think the mach traps are the easiest way to achieve his goals. Spawning the application into memory and dealing with an execution interpreter, as was suggested before, is IMO way overcomplicated to cheat at a game :) much easier to just beat the game...


You can also get around that fairly easily by using gdb and breaking on ptrace. Search on your favourite search engine to find out how.

Devon
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to