Graphical and minimalistic hex editor. Comes with coloring of magic numbers to aid in recognizing the type of file you are dealing with.
Prerequisites are SDL2
and SDL2_TTF
libraries. To build the app just run:
$ make
You can optionally run strip hexing
later to cut some bytes from the final
binary but won't do much difference.
Mouse interaction is still very limited in purpose and optional.
Keys:
UP/DOWN/PAGEUP/PAGEDOWN
: navigation through the file.g
: go to file offset. You can pressENTER
if you don't want to write the full offset address.0-9a-f
: write byte to position in file.+/-
: add or substract to byte.x/X
: copy 1 or 4 escaped bytes from file.n
: write NOP (0x90) to position in file.ESC/q
: quit the application.
Mouse:
- Grab the window to drag it anywhere in the screen.
- Left click will select the byte in content.
The theme
structure will let you customize the application by changing the
colors, font (TTF format) and font size. The font lives in font.h
completely
and can be changed by just modifying the ttf
and ttf_len
variables.
- Append new bytes to files.
- Magic number with variable offsets (scan).