Show HN: Bin-graph: Visualize binary files

This program provides a simple way of visualizing the different regions of a binary file. Written in C, depends only on libpng.

Currently (commit 1dd42e3) it is able to generate PNG images that represent various aspects of the binary:

- Grayscale: Byte values, 00..FF. - Ascii: Printability of each byte. - Entropy: Of a "block", changed with --block-size. - Histogram: Bar graph of the byte frequencies. - Bigrams: Each point is determined by a pair of bytes. - Dotplot: Measure self-similarity. Image width/height is N^2.

In the future, I plan on adding an SDL version that allows the user to view a section of the file interactively (sections are currently supported with --offset-start and --offset-end).

More information on the README.


Comments URL: https://news.ycombinator.com/item?id=41417263

Points: 5

# Comments: 3

https://github.com/8dcc/bin-graph

Creado 6mo | 2 sept 2024, 10:10:08


Inicia sesión para agregar comentarios