Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 03 Apr 2002 18:52:42 -0800
From:      Terry Lambert <tlambert2@mindspring.com>
To:        peter.edwards@openet-telecom.com
Cc:        Julian Elischer <julian@elischer.org>, FreeBSD current users <current@freebsd.org>
Subject:   Re: comparing executables
Message-ID:  <3CABBFFA.16FD8D47@mindspring.com>
References:  <3C8F04A10000036B@gpo.openet-telecom.lan>

next in thread | previous in thread | raw e-mail | index | archive | help
I guess I wonder why the code differs, then?

-- Terry

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.

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?3CABBFFA.16FD8D47>