• 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: Accessing memory of another application?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >Accessing memory of another application? (From: Josh <email@hidden>)
 >Re: Accessing memory of another application? (From: Steve Byan <email@hidden>)
 >Re: Accessing memory of another application? (From: "Kyle Sluder" <email@hidden>)
 >Re: Accessing memory of another application? (From: Jason Coco <email@hidden>)

  • Prev by Date: Re: Detect when another application goes into full screen mode or when dock becomes hidden
  • Next by Date: Re: What's the use of the Z_UUID in the Z_METADATA table?
  • Previous by thread: Re: Accessing memory of another application?
  • Next by thread: Re: Accessing memory of another application?
  • Index(es):
    • Date
    • Thread