m4b / goblin

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

Align ELF Notes to 4 bytes #365

Closed Swatinem closed 1 year ago

Swatinem commented 1 year ago

The ELF man-page related to Notes clearly states that the name and description have to be aligned to 4 bytes.

See https://www.mankier.com/5/elf#Description-Notes_(Nhdr)

Fixes https://github.com/m4b/goblin/issues/364