Skip to content

Releases

v0.1.14

Choose a tag to compare

@github-actions github-actions released this 03 Sep 00:56

Full Changelog: v0.1.13...v0.1.14

rustrip 0.1.13

Choose a tag to compare

@rolanfreeman6-png rolanfreeman6-png released this 11 Aug 14:04

Fixed

  • Guarded Binary::parse against panics raised by goblin 0.8.2 on malformed objects. Both Object::parse and the format-specific loaders (load_elf, load_pe, load_mach) are now wrapped in std::panic::catch_unwind, so a hostile Mach-O — notably one whose LC_MAIN load command triggers subtract-with-overflow at goblin::mach::mod.rs:280 — surfaces as Err instead 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 FileAlignment floor (0x1ff) and the conservative 4 KiB page rounding (0xfff) in preflight_pe_rva_to_offset with citations to Microsoft PE/COFF.

Added

  • Regression test macho_lc_main_underflow_returns_err_not_panic reproducing the goblin LC_MAIN panic and asserting Binary::parse returns Err.

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

v0.1.12

Choose a tag to compare

@github-actions github-actions released this 06 Aug 09:24

Full Changelog: v0.1.11...v0.1.12

v0.1.9

Choose a tag to compare

@github-actions github-actions released this 04 Aug 10:47

Full Changelog: v0.1.8...v0.1.9

v0.1.8

Choose a tag to compare

@github-actions github-actions released this 03 Aug 17:36

Full Changelog: v0.1.7...v0.1.8