From owner-freebsd-current Wed Apr 3 13: 3:43 2002 Delivered-To: freebsd-current@freebsd.org Received: from snipe.prod.itd.earthlink.net (snipe.mail.pas.earthlink.net [207.217.120.62]) by hub.freebsd.org (Postfix) with ESMTP id 1461F37B428 for ; Wed, 3 Apr 2002 13:03:26 -0800 (PST) Received: from pool0355.cvx40-bradley.dialup.earthlink.net ([216.244.43.100] helo=mindspring.com) by snipe.prod.itd.earthlink.net with esmtp (Exim 3.33 #1) id 16sruf-0006Xw-00; Wed, 03 Apr 2002 13:03:25 -0800 Message-ID: <3CAB6E05.EB505842@mindspring.com> Date: Wed, 03 Apr 2002 13:03:01 -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: Julian Elischer Cc: FreeBSD current users Subject: Re: comparing executables References: 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 Compare them without the ELF headers, a section at a time, so that the timestamps are irrelevent. You may also have to throw out the "what" information from the binaries, preemptively... Julian Elischer wrote: > > I have two directories of executables > (actually two entire FreeBSD filesystems) > > they were both produced from the same checked out trees except that > between the two compiles, some patches (unknown) were applied > to the sources. > > How can I find out which binaries have changed? > they are all different according to cksum so I assume > that there is a timestamp or something in them. > Is there a way to compare only the text segments? > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-current" in the body of the message To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message