New Features:
- Added functionality whereby you can now put multiple extract commands into the
--mode/-margument and only one analysis will be conducted before sequentially generating the data. For examplebin2ml extract -f example.bin -o scratch -m bytes cfg cgwill extract function bytes, control flow graphs and call graph information. - New
extractmode to extract function variables (in radare2 with afvj) -fvars - New
extractmode to extract zignatures (in radare2 with zg and zj) -zigs - New
extractmode to extract binary info (in radare2 with it and itg) -bininfo
Tweaks
- Added function
sanitize_function_nameto remove characters that make file paths easier to save. - Moved JSON fixing logic to helper function
fix_json_objectfor fixing radare2's cfg output.
Fixes
- Fixed E0283 by adding type annotations to agfj.rs.
- Fixed a bug with the "bytes" extraction mode so that all of the function bytes are extracted rather than just the first 256 bytes (if bigger)
- Removed unused import extract::ExtractionJobType from main.rs.
New Contributor
This is the first Release that @valbucci has contributed too. Valerio has provided all of the ideas for enhancements and most of the coding. Thank you!
Full Changelog: v0.4.2...v0.4.3