m4b / goblin

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

elf: fix is_import to check st_shndx #436

Open Berrysoft opened 1 week ago

Berrysoft commented 1 week ago

Closes #288

Closes #419

I also found this bug on with ELF produced on illumos. st_value may not be zero because it may indicate the offset of a import function.