|
From: Vincent R. <fo...@sm...> - 2009-12-09 21:51:37
|
On Wed, 09 Dec 2009 12:01:45 +0100, Danny Backx <dan...@sc...> wrote: > In the examples at http://danny.backx.info/download/cegcc/demo.tar.gz > you can see source and compiled version for two DLLs, and objdump for > both. > > The lib1.dll works, lib2.dll doesn't, as shown in testapi2 output : > Started processing DLL(lib1.dll) > lib1.dll doesn't know about open > lib1.dll implements XmlPrologStateInitExternalEntity > (0x01821760) > LoadLibrary(lib2.dll) : cannot load DLL -> error 193 > > The libs are based on almost identical source (one of the libexpat > source files, with stuff incrementally compiled out until I got a > working version). > > The objdump files show that the DLL stops working once the text segment > has a size exceeding 0x1000. > > Does anyone have more info ? Hints, clues, .. ? > > Danny Danny, please try to upx your binaries and check if it still doesn't work. Just curious to know the result. |