site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Why would you need to do that? ptrace can be used too. Tomas -- # Ing. Tomas Zahradnicky, Jr. # The Czech Technical University # Dept of Computer Science, FEE-CTU Prague _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... 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. 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. Anyway, my secondary question is: can one application access another's memory? In general, the answer is no; however, the debugger is able to do so. This email sent to site_archiver@lists.apple.com
participants (1)
-
Tomas Zahradnicky