Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Protected Memory



(resent from correct address)

24 feb 2006 kl. 00.38 skrev Tomas Zahradnicky:

I had a program under OS 9 that could be used to do this (mostly to cheat at games :)

That programs usually didn't dare to just write and used undocumented APIs from PrivateInterfaceLib instead.


Why would you need to do that?

Most modern operating systems do not allow one application to access memory of another application (apart from shared memory which requires the processes to cooperate).

Well, most modern OSes allow you to do it through the VM APIs and you can map a portion of one process's virtual address space into your own process's address space where you can change it and possibly write it back if you have the enough privileges to do so, of course.

Someone already wrote a version of The Cheat to Mac OS X. You can probably use it as reference. It's available with source at <http:// www.brokenzipper.com/> (GPL licenced).
--
Pelle Johansson



_______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden
References: 
 >Protected Memory (From: William Riley-Land <email@hidden>)
 >Re: Protected Memory (From: Steve Checkoway <email@hidden>)
 >Re: Protected Memory (From: Tomas Zahradnicky <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.