๐Ÿ“ฆ sharkdp / binocle

a graphical tool to visualize binary data

โ˜… 1.3k stars โ‘‚ 39 forks ๐Ÿ‘ 1.3k watching โš–๏ธ Apache License 2.0
binary-datareverse-engineeringvisualization
๐Ÿ“ฅ Clone https://github.com/sharkdp/binocle.git
HTTPS git clone https://github.com/sharkdp/binocle.git
SSH git clone git@github.com:sharkdp/binocle.git
CLI gh repo clone sharkdp/binocle
David Peter David Peter Fix clippy suggestions 4bb5630 2 years ago ๐Ÿ“ History
๐Ÿ“‚ 4bb5630c4fca24975648801926c653dbb7abdbfc View all commits โ†’
๐Ÿ“ .github
๐Ÿ“ assets
๐Ÿ“ examples
๐Ÿ“ src
๐Ÿ“„ .gitignore
๐Ÿ“„ Cargo.lock
๐Ÿ“„ Cargo.toml
๐Ÿ“„ CHANGELOG.md
๐Ÿ“„ LICENSE-APACHE
๐Ÿ“„ LICENSE-MIT
๐Ÿ“„ README.md
๐Ÿ“„ README.md


Examples โ€ข Screencast โ€ข How it works โ€ข Installation

binocle is a graphical tool to visualize binary data. It colorizes bytes according to different rules and renders them as pixels in a rectangular grid. This allows users to identify interesting parts in large files and to reveal image-like regions.

Examples

ELF binaryMS Teams memdumpDoom assetsperf record samples

Preview

Watch a short screencast here

How it works

The program allows you to control various parameters like the offset into the file, the stride, the width of the rectangular grid as well as the way in which (groups of) bytes are colorized.

Installation

On Ubuntu

Download the appropriate .deb package from the Release page and install it via dpkg:

wget https://github.com/sharkdp/binocle/releases/download/v0.3.1/binocle_0.3.1_amd64.deb
sudo dpkg -i binocle_0.3.1_amd64.deb

On Arch Linux

binocle can be installed from the community repository using pacman:

pacman -S binocle

From binaries (Linux, macOS, Windows)

Download the corresponding archive from the Release page.

With cargo (Linux, macOS, Windows)

binocle can be installed via cargo:

cargo install binocle

License

binocle is dual-licensed under the terms of the MIT License and the Apache License 2.0.

See the LICENSE-APACHE and LICENSE-MIT files for details.

Related work

  • veles.io ([GitHub [archived]](https://github.com/codilime/veles))