Repository navigation
Releases
Releases · rolanfreeman6-png/rustrip
v0.1.14
Full Changelog: v0.1.13...v0.1.14
rustrip 0.1.13
Fixed
- Guarded
Binary::parseagainst panics raised by goblin 0.8.2 on malformed objects. BothObject::parseand the format-specific loaders (load_elf,load_pe,load_mach) are now wrapped instd::panic::catch_unwind, so a hostile Mach-O — notably one whoseLC_MAINload command triggers subtract-with-overflow atgoblin::mach::mod.rs:280— surfaces asErrinstead of aborting the process. Preflight validation is unchanged; the guard is defense-in-depth for panics goblin's internal walker does not range-check. - Documented the PE
FileAlignmentfloor (0x1ff) and the conservative 4 KiB page rounding (0xfff) inpreflight_pe_rva_to_offsetwith citations to Microsoft PE/COFF.
Added
- Regression test
macho_lc_main_underflow_returns_err_not_panicreproducing the goblinLC_MAINpanic and assertingBinary::parsereturnsErr.
Verified
cargo test(all targets): 278 passed, 0 failed.cargo clippy --all-targets --all-features: 0 warnings.cargo build --release: compiles.- Real-binary smoke test on 8 PE + 2 ELF samples (incl. 18 MB
avcodec-62.dll): all exit 0, all 4 output formats (table/json/ghidra/binja) produce non-empty output. - Regression test confirms the catch_unwind guard catches the goblin panic (visible in stderr) and converts it to
Err.
Full Changelog: v0.1.12...v0.1.13
Full Changelog: v0.1.12...v0.1.13