[ntdll] load all dll sections no matter what attributes say

Vitaliy Margolen wine-devel at kievinfo.com
Tue Jul 5 23:04:37 CDT 2005


Monday, July 4, 2005, 10:51:30 AM, Kuba Ober wrote:
>> I have found a dll that have one section marked as
>> IMAGE_SCN_CNT_UNINITIALIZED_DATA. But dll_init entry is jumping right to
>> the beginning of this section. Which results in immediate segfault.
>>
>> So native mast be loading this section or this program wouldn't ever run.

> As an alternative explanation, couldn't the native have loaded it on demand?
Don't think so. When dll is loaded it's being initialized by calling entry
point (not sure about resources here). Also how would you load particular dll
section on demand before initializing that dll?

Vitaliy





More information about the wine-devel mailing list