The Hex Editor From Hell!
Usage:
go get -u github.com/edsrzf/mmap-go go get -u github.com/nsf/termbox-go go build ./hecate /path/to/binary/file Hecate is not actually a hex editor, only a viewer. It is a terminal program written in Go with Vim-like controls; place the cursor over some bytes and choose a mode (t for text, p for a bit pattern, i for an integer, f for a floating point) to see what those bytes represent.
Full list of commands:
| h | left | t | text mode |
| j | down | p | bit pattern mode |
| k | up | i | integer mode |
| l | right | f | floating-point mode |
| b | left 4 bytes | e | toggle endianness |
| w | right 4 bytes | u | toggle signedness |
| g | first byte | H | shrink cursor |
| G | last byte | L | grow cursor |
| ctrl-f | page down | : | jump to offset |
| ctrl-b | page up | x | toggle hex offset |
| ctrl-e | scroll down | ? | help screen |
| ctrl-y | scroll up | q | quit program |
