Wednesday, August 24, 2005, 11:00:06 AM, Marco Pietrobono wrote:
Il giorno mar, 23-08-2005 alle 18:05 -0600, Vitaliy Margolen ha scritto: [snip]
Unfortunately fixing NtQueryVirtualMemory, NtProtectVirtualMemory and others is not that simple. Basically there are no way to do it from other processes. Ok, NtQueryVirtualMemory could be implemented some-what easily using NtReadVirtualMemory and possibly one more server call. But for others I see only three ways to implement them:
[snip]
Any other solutions that I have forgotten/haven't even thought of?
have you checked this one? http://www.die.net/doc/linux/man/man5/proc.5.html especially with regards to mem e map. it should work, at least on linux. bye,
Ok, and how would I allocate, free, change protection with that? Wine already has read/write access using ptread.
Vitaliy