Example Binaries

February 26, 2026 · View on GitHub

Pre-built binary file pairs for testing dring.

File Pairs

PairSizeDescription
simple_v1.bin / simple_v2.bin64 BSequential bytes 0x00–0x3F with 5 scattered modifications. Good smoke test.
header_original.bin / header_modified.bin126 BSimulated ELF-like binary where the magic bytes and version field differ.
firmware_v1.bin / firmware_v2.bin512 BPseudorandom data with 80 byte differences throughout, simulating a firmware update.
text_original.bin / text_modified.bin161 BASCII text with a few character case-swaps and punctuation changes.
identical_a.bin / identical_b.bin256 BIdentical files — verifies the zero-diff case.

Usage

cargo run -- examples/simple_v1.bin examples/simple_v2.bin
cargo run -- examples/firmware_v1.bin examples/firmware_v2.bin

Regenerating

The files are deterministic (seeded RNG). Regenerate them with:

python3 examples/generate.py