m4b / goblin

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

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

Closed Jhynjhiruu closed 2 years ago

Jhynjhiruu commented 2 years 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.