[Shrinker] Another landmine
Alexandre Julliard
julliard at winehq.com
Mon Dec 24 14:33:50 CST 2001
Robert Baruch <autophile at starband.net> writes:
> More stepping through the code, comparing Windbg to gdb, and I found
> another landmine. Shrinker gets the address of the NTDLL procedure
> LdrAccessResource, and looks for this code:
>
> FF74XXXX push [esp+X]
> E8XXXXXXXX call ....
>
> Instead, it finds an unimplemented procedure in Wine. So now I will look
> at LdrAccessResource (and friends) to see what's involved in implementing
> it, whatever it is.
Sounds much more problematic. LdrAccessResource itself is not too
hard, but I doubt you'll get gcc to generate exactly the above code;
and writing LdrAccessResource in assembly is not really an option.
--
Alexandre Julliard
julliard at winehq.com
More information about the wine-devel
mailing list