๐Ÿ“ฆ 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 Add CHANGELOG entry 4461a04 4 years ago ๐Ÿ“ History
๐Ÿ“‚ 4461a048bce19fa4517d8f8697ff5d75cfa88dd1 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.1.2/binocle_0.1.2_amd64.deb
sudo dpkg -i binocle_0.1.2_amd64.deb

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))