m4b / goblin

An impish, cross-platform binary parsing crate, written in Rust
MIT License
1.18k stars 158 forks source link

Fix parsing PE with zero raw_data_size of section #396

Open ideeockus opened 6 months ago

ideeockus commented 6 months ago
  1. Sometimes I need to parse PE header without parsing DOS header + DOS stub

  2. Seems that finding offset by rva is not implemented correctly and breaks down on some PE files. See #307