dead-ringer
dead-ringer copied to clipboard
Binary Diff Utility
dead-ringer
A Rust-based command-line utility designed to compare two binary files, displaying differences by showcasing both hexadecimal and ASCII representations of the differing bytes.
Features
- CLI Diff Viewer for Hex and ASCII.
- Color highlighting for different data types to enhance readability.
- Keyboard navigation enables interactive exploration of differences.
- Displays bit position for focused data, aiding in precise location identification.
Installation
git clone [email protected]:ztroop/dead-ringer.git && cd ./dead-ringer
cargo install --path .
From the AUR
paru -S dead-ringer
Usage
Usage: dring <file1> <file2>
Arguments:
<file1> Path to the first binary file
<file2> Path to the second binary file
Color Reference
Type of Byte | Color |
---|---|
NULL | ![]() |
OFFSET | ![]() |
ASCII Printable | ![]() |
ASCII Whitespace | ![]() |
ASCII Other | ![]() |
Non-ASCII | ![]() |
Alternatives
If you're looking for a full-featured Hex/ASCII viewer, check out Hexyl!