|
chex: tiny hex dumper
chex is a small but well formed hex dumper in C. Compiled with gcc ver 3.1
I get a binary of 3524 bytes.
Install
cc chex.c -o chex
or
gcc -O2 chex.c -o chex ; strip chex
or (windows)
cl chex.c
copy chex manually to a bin directory
Usage
chex filename
or as pipe e.g.
cat foo | chex
Screenshot chex chex
0x00000000 7F 45 4C 46 01 01 01 00 00 00 00 00 00 00 00 00 .ELF............
0x00000010 02 00 03 00 01 00 00 00 F8 83 04 08 34 00 00 00 ............4...
0x00000020 DC 09 00 00 00 00 00 00 34 00 20 00 06 00 28 00 ........4. ...(.
0x00000030 19 00 18 00 06 00 00 00 34 00 00 00 34 80 04 08 ........4...4...
0x00000040 34 80 04 08 C0 00 00 00 C0 00 00 00 05 00 00 00 4...............
Links chex lives at http://www.skynet.ie/~caolan/Packages/chex.html
Licence GPL, http://www.gnu.org
Caolan McNamara (2003) <caolan@skynet.ie>
Download Package
chex/chex-1.0.1.tar.gz
chex/chex-1.0.0.tar.gz
|