Skip to content

ztroop/dead-ringer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build

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.

demo

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 #555753 Gray
OFFSET #555753 Gray
ASCII Printable #06989a Cyan
ASCII Whitespace #4e9a06 Green
ASCII Other #4e9a06 Green
Non-ASCII #c4a000 Yellow

Alternatives

If you're looking for a full-featured Hex/ASCII viewer, check out Hexyl!