From owner-freebsd-current Wed Apr 3 18:53:23 2002 Delivered-To: freebsd-current@freebsd.org Received: from swan.prod.itd.earthlink.net (swan.mail.pas.earthlink.net [207.217.120.123]) by hub.freebsd.org (Postfix) with ESMTP id 7B53C37B419 for ; Wed, 3 Apr 2002 18:53:20 -0800 (PST) Received: from pool0188.cvx22-bradley.dialup.earthlink.net ([209.179.198.188] helo=mindspring.com) by swan.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16sxN5-00070H-00; Wed, 03 Apr 2002 18:53:08 -0800 Message-ID: <3CABBFFA.16FD8D47@mindspring.com> Date: Wed, 03 Apr 2002 18:52:42 -0800 From: Terry Lambert X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: peter.edwards@openet-telecom.com Cc: Julian Elischer , FreeBSD current users Subject: Re: comparing executables References: <3C8F04A10000036B@gpo.openet-telecom.lan> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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