m4b / goblin

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

elf.section_header: additional workaround for 0-length sections #347

Closed Jhynjhiruu closed 1 year ago

Jhynjhiruu commented 1 year ago

One more change necessary for the funky ELFs I have that I forgot to add previously is allowing check_size to immediately return Ok(()) on a 0-sized section, even if that section isn't marked as SHT_NOBITS.