[Mono-dev] {kinda OT} Linux equivalent of Win32 "ReadProcessMemory"...

Mike Edenfield kutulu at kutulu.org
Mon Apr 13 11:25:37 EDT 2009


On 4/13/2009 7:05 AM, Robert Jordan wrote:
> Mike Edenfield wrote:
>> * Is there an easier way to do this that I'm missing?  I briefly looked
>> for a glibc function that was similar to ReadProcessMemory and came up
>> empty.
>
> ptrace(2)

Ugh, dunno how I missed that one.  From reading the man page for 
ptrace(2) it seems like I can only read or write data one long at a 
time.  Am I reading that right?  If so, it would be useful in a bunch of 
places, but I think I'd still need to resort to mmap() eventually.


More information about the Mono-devel-list mailing list