Xref: utzoo gnu.misc.discuss:3195 alt.sources.d:1850 comp.emacs:10749 Path: utzoo!utgpu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!pacific.mps.ohio-state.edu!linac!att!cbfsb!danj1 From: Dan_Jacobson@ATT.COM Newsgroups: gnu.misc.discuss,alt.sources.d,comp.emacs Subject: Re: diff of binaries Message-ID: <1991May22.005042.12918@cbfsb.att.com> Date: 22 May 91 00:50:42 GMT References: <1991May17.152854.29198@cbfsb.att.com> Sender: news@cbfsb.att.com Reply-To: Dan_Jacobson@ihlpz.ATT.COM Organization: AT&T-BL, Naperville IL, USA Lines: 35 In-Reply-To: pvr@wang.com's message of 21 May 91 20: 16:36 GMT Originator: danj1@cbnewsf.cb.att.com >>>>> On 21 May 91 20:16:36 GMT, pvr@wang.com (Peter Reilley) said: Peter> jpl9k@cbnewsb.att.com (john.p.letourneau) writes: >Hi, I was wondering if there was something floating out there in source >land to essentially do a diff -e on an executable file...aka binary. Peter> You could try beav (Binary Editor And Viewer). Beav is a emacs Peter> like binary file editor that allows viewing data in many formats; hex, Peter> decimal, octal, binary, ascii, and ebcdic. There is a command Peter> that will compare the data in two windows and position the cursor at the Peter> first difference found. hmmm, I bet you also could use GNU Emacs's compare-windows command plus these, which i haven't tried: Emacs Lisp Code Apropos -- "hex" hexl-mode 89-05-24 Keith Gabryelski, tut.cis.ohio-state.edu:pub/gnu/emacs/elisp-archive/s-is/misc/hexl-mode.el.Z Edit a file in a hex dump format. (/s-is/ --> /as-is/ -DJ) hex (1.0) 89-05-29 andy@ernie.berkeley.edu, tut.cis.ohio-state.edu:pub/gnu/emacs/elisp-archive/as-is/misc/hex.Z Binary editing mode. Peter> I posted the source to comp.sources.unix two months ago but it Peter> has not been released by the moderator. I posted an executable to Peter> comp.binaries.ibm.pc and it was archived at SIMTEL20. I posted an Peter> earlier version to alt.sources.