delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Date: | Fri, 28 Dec 2001 12:54:30 -0500 |
From: | Christopher Faylor <cgf AT redhat DOT com> |
To: | cygwin AT cygwin DOT com |
Subject: | Re: rebase addon - Bas and Size listing of dll's without rebasing |
Message-ID: | <20011228175430.GB30625@redhat.com> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
References: | <20011227180503 DOT GD2204 AT dothill DOT com> <001501c18f95$cbf20720$0e6307d5 AT BRAMSCHE> |
Mime-Version: | 1.0 |
In-Reply-To: | <001501c18f95$cbf20720$0e6307d5@BRAMSCHE> |
User-Agent: | Mutt/1.3.23.1i |
On Fri, Dec 28, 2001 at 12:50:07PM +0100, Ralf Habacker wrote: >> -----Original Message----- >> From: Jason Tishler [mailto:jason AT tishler DOT net] >> On Wed, Dec 26, 2001 at 09:08:49PM +0100, Ralf Habacker wrote: >> > On analysing this problem I added an option "-l" to the rebase tool to >> > list dll's imagebase and -size without rebasing. It's very interesting >> > to see how MS chooses there Imagebase. >> >> What about the following alternative solution: >> >> $ objdump -p foo.dll | egrep '(ImageBase|SizeOfImage)' >> ImageBase 68000000 >> SizeOfImage 0003f000 > >Try it with a recent objdump and a dll with auto-import variables and you will see that >objdump crashes. :-( Seems to work fine with the distributed version of binutils. I tried this with cygncurses6.dll. Regardless, if there is a problem in objdump then it obviously needs to be fixed. Adding an option to some other program because objdump is broken is not the way to approach this, IMO. cgf -- 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |