rebase and ME

Jason Tishler jason@tishler.net
Tue Aug 6 14:06:00 GMT 2002


Ralf,

On Tue, Aug 06, 2002 at 04:04:13PM -0400, Jason Tishler wrote:
> On Tue, Aug 06, 2002 at 08:58:28PM +0200, Ralf Habacker wrote:
> > > Please try the appended patched rebase.
> > > 
> > I haven't got any comments. Does this rebase not work ? 
> 
> Sorry, I've been backed up debugging an ipc-daemon problem.  I will try
> your version under 2000 tomorrow morning.

Actually, I just found some time.  Your version seems to rebase fine,
but SEGVs on known problematic (stripped) DLLs:

    $ cp /usr/bin/cygcurl-2.dll .
    $ strip cygcurl-2.dll 
    $ ./rebase -l cygcurl-2.dll 
    cygcurl-2.dll ImageBase: 10000000 ImageSize: 00020000
                                                 ^^^^^^^^
    $ ./rebase -d -b 0x68000000 cygcurl-2.dll 
    Segmentation fault (core dumped)

Note that stripping cygcurl-2.dll seems to whack the ImageSize.

Without stripping we get the following:

    $ cp /usr/bin/cygcurl-2.dll .
    $ ./rebase -l cygcurl-2.dll 
    cygcurl-2.dll ImageBase: 10000000 ImageSize: 00069000
    $ ../rebase/rebase -d -b 0x68000000 cygcurl-2.dll
    $ ./rebase -l cygcurl-2.dll 
    cygcurl-2.dll ImageBase: 67f90000 ImageSize: 00069000

Can you fix this problem?

Thanks,
Jason

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list