[2/3] ntdll: Use PAGE_READWRITE access when resolving DLL imports.

Alexandre Julliard julliard at winehq.org
Thu Nov 3 05:51:54 CDT 2011

Dmitry Timoshkov <dmitry at baikal.ru> writes:

> Alexandre Julliard <julliard at winehq.org> wrote:
>> What I mean is that if the old protection contains WRITECOPY, you won't
>> be able to restore it correctly since you are going to make
>> NtProtectVirtualMemory reject that.
> I see. I think that a failure to restore WRITECOPY protection could be safely
> ignored. My investigation shows that a section with import thunks that would
> have WRITECOPY protection if it wouldn't contain import data has READWRITE
> protection after the DLL is loaded.

OK then. A test case for this would be nice.

Alexandre Julliard
julliard at winehq.org

More information about the wine-devel mailing list