On Aug 13, 2008, at 09:27 , Kyle Sluder wrote:
On Tue, Aug 12, 2008 at 10:14 PM, Steve Byan <[EMAIL PROTECTED]> wrote:
Actually, the man-page is incomplete and doesn't tell you how to read and
write another process's memory.

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...

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

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