Re: Accessing memory of another application?
Re: Accessing memory of another application?
- Subject: Re: Accessing memory of another application?
- From: Devon Ferns <email@hidden>
- Date: Wed, 13 Aug 2008 10:18:30 -0400
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 (email@hidden)
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:
This email sent to email@hidden