NullSec HexDump

February 27, 2026 ยท View on GitHub

Binary Analysis & Hex Viewer

Zig License X/Twitter

Binary hex viewer written in Zig demonstrating compile-time safety and explicit error handling.

Build

zig build-exe hexdump.zig -O ReleaseFast

Usage

./hexdump binary.exe
./hexdump -c 32 firmware.bin          # 32 bytes per line
./hexdump -s 0x100 -n 256 file.dat    # Skip 256, read 256
./hexdump --stats malware.bin         # Show statistics

Features

  • Color-coded byte classification
  • Configurable columns
  • Offset skipping
  • Length limiting
  • Statistics mode
  • ASCII representation

Community