Skip to content

indigoparadox/vbincarver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

vbincarver

Screenshot of example output color-coded hexadecimal dump

This is a simple script designed to take a binary file and a grammar written in YAML and produce an HTML diagram of that binary file. Structs and offsets are highlighted according to CSS rules.

It does require a valid YAML file for the binary file to be dissected. Please see ico.yaml for an example of the Windows 3.x ICO format.

With a grammar in place, simply run it as:

./vbincarver.py -f ico -o example.html example.ico

Ideas:

  • Place grammars in a common location and select based on magic number.
  • Tool for detecting chunks or other common file format artefacts.
  • Add info window on generated pages showing info on what was clicked.