Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Apr 2002 16:39:47 -0800 (PST)
From:      Julian Elischer <julian@elischer.org>
To:        peter.edwards@openet-telecom.com
Cc:        Terry Lambert <tlambert2@mindspring.com>, FreeBSD current users <current@freebsd.org>
Subject:   Re: comparing executables
Message-ID:  <Pine.BSF.4.21.0204031639010.21569-100000@InterJet.elischer.org>
In-Reply-To: <3C8F04A10000036B@gpo.openet-telecom.lan>

next in thread | previous in thread | raw e-mail | index | archive | help


On Wed, 3 Apr 2002 peter.edwards@openet-telecom.com wrote:

> 
> >Compare them without the ELF headers, a section at a time, so
> >that the timestamps are irrelevent.
> 
> From what I recall, there _are_ no timestamps in ELF images,
> and compiling the same executable multiple times locally here
> seems to bear out the fact: "cmp" on two successive outputs
> is identical.
> 
> The only timestamps that could be there would be in the
> ident/which strings buried in the code, which would appear in
> the ELF section payload: so stripping off the headers won't
> help.
> 

My answer BTW is to do objdump -d 
and compare that :-)



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-current" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0204031639010.21569-100000>