• 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: Steve Byan <email@hidden>
  • Date: Tue, 12 Aug 2008 22:14:03 -0400


On Aug 12, 2008, at 12:04 PM, Josh wrote:

I'm trying to get started w/viewing/editing/interacting with the memory of
another running application but I'm not where to get started. You could
think of this as being a simple "game trainer" - which basically allows you
to view and edit values in memory.


Can anyone point me to where I should get started? Function names/ examples
would be a GREAT help - I haven't had experience with hooking into another
application's memory.

Open Terminal.app and type "man 2 ptrace" and all will be revealed :-)

Actually, the man-page is incomplete and doesn't tell you how to read and write another process's memory. See the header file /usr/include/ sys/ptrace.h.

There's also some interesting info at <http://www.matasano.com/log/ 1100/what-ive-been-doing-on-my-summer-vacation-or-it-has-to-work- otherwise-gdb-wouldnt/>.

ptrace is a BSD system call rather than a Cocoa library call, so darwin-userlevel <http://lists.apple.com/mailman/listinfo> might be a more appropriate list for help on ptrace.

Alternatively, just use gdb.


Best regards, -Steve

--
Steve Byan <email@hidden>
Littleton, MA 01460


_______________________________________________

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


  • Follow-Ups:
    • Re: Accessing memory of another application?
      • From: "Kyle Sluder" <email@hidden>
References: 
 >Accessing memory of another application? (From: Josh <email@hidden>)

  • Prev by Date: Re: Should I retain a variable returned from this accessor?
  • Next by Date: Bindings Key Paths question
  • Previous by thread: Re: Accessing memory of another application?
  • Next by thread: Re: Accessing memory of another application?
  • Index(es):
    • Date
    • Thread