site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On Feb 14, 2006, at 2:51 PM, William Riley-Land wrote: Hi. - Steve _______________________________________________ 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... This email sent to site_archiver@lists.apple.com Hi, I haven't posted here before. So, nice to meet you all and hope this isn't off topic :) I was wondering if it is possible at all for one userland application to access another application's memory space. By "userland" I mean non-kernel code... that's the correct term right? I had a program under OS 9 that could be used to do this (mostly to cheat at games :) I understand that under Darwin memory is "protected" and one application can only use its memory space and/or shared memory (which I have no idea about at all). 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). 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. Read the man page for ptrace (actually, read the header file /usr/ include/sys/ptrace.h as the man page is missing some information). I am dissapointed that I have to ask this question, but I could not find any sort of in-depth documentation of Darwin's memory management on the Apple site or after doing a bit of Googling... So, my main question is where can I find that sort of information? Not sure where this is documented. I suppose there's something in gdb's source. smime.p7s
participants (1)
-
Steve Checkoway