1 unstable release

0.0.0 Sep 4, 2021

#40 in #contents

MIT license

2KB

mincer

Mincer is a tool that parses a binary file based on a description file. This tool should be able to parse partially described files as well as files that are not fully understood to help visualize a data structure of unknown contents. Types available:

  • ptr (pointer size should be freely configurable)
  • u8,u16,u32,u64
  • s8,s16,s32,s64
  • f32, f64
  • bitfiled
  • string (\0 terminated)
  • bytes (raw binary blob, can be of any size. It should be possible to use an integer type as blob size)

Should output a nested tree-like structure of the file (e.g. a json)

Table of content

Installation

This program requires the latest version of Rust. To install minutecat-cli simplt clone the repository and run:

cargo install --path ./cli

Usage

License

This program is distributed under the terms of the MIT License.

Contributing

All contributions are welcome. Both pull requests and issue reports are always appreciated. Please make sure that all existing tests pass before submitting a pull request.

TODO

Dependencies

~1.4–2MB
~30K SLoC