Khexedit

From LQWiki
Jump to navigation Jump to search

khexedit is a KDE program from the kdeutils package that lets you view and edit binary files. It looks like this:

0009:6160  04 00 00 00 00 00 00 00 01 00 00 00 03 00 00 00  |................|
0009:6170  00 00 00 00 00 00 00 00 24 4c 09 00 db 00 00 00  |........$L......|
0009:6180  00 00 00 00 00 00 00 00 01 00 00 00 00 00 00 00  |................|
0009:6190  00 2e 73 68 73 74 72 74 61 62 00 2e 69 6e 74 65  |..shstrtab..inte|
0009:61a0  72 70 00 2e 6e 6f 74 65 2e 41 42 49 2d 74 61 67  |rp..note.ABI-tag|
0009:61b0  00 2e 68 61 73 68 00 2e 64 79 6e 73 79 6d 00 2e  |..hash..dynsym..|

The columns are as follows:

  1. A 32-bit address.
  2. 16 bytes at that address, left-to-right
  3. the same 16 bytes, rendered as a string

You can edit as well in the hexadecimal as in the string representation of the data.

Install it

Install it as described at installing software. That means you will have to find out your distribution and proceed accordingly:

SUSE

Open a console and enter:

yast -i kdeutils3-extra

Please note that SUSE splits up the package kdeutils into several ones, that is why you have to name it kdeutils3-extra.