Easy to use hex editor?

Easy to use hex editor?

Ehud Karni ehud at unix.mvs.co.il
Thu May 7 14:27:08 IDT 2015


On Thu, 07 May 2015 09:16:20 +0300, geoffrey mendelson wrote:
>
> I have a DOS program I need to modify. I need to be able to load an DOS
> EXE file, and hopefully using a gui, search for ascii text and 8 byte
> floating point numbers in INTEL format and modify them. Then when I
> write the file it still needs to be be executable.
>
> If it has a patch mode, where I can compare the patched version to the
> original and get a diff type output, I would really be happy.

You can use `hexl-mode' in Emacs.
To hex-edit a file use the `hexl-find-file' Emacs command.

To compare the 2 files use `cmp' or `diff' on the output of `od -t x1 <file>`.

Ehud.


--
 Ehud Karni           Tel: +972-3-7966-561  /"\
 Mivtach - Simon      Fax: +972-3-7976-561  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 GnuPG: 98EA398D <http://www.keyserver.net/>    Better Safe Than Sorry



More information about the Linux-il mailing list