aclements / libelfin

C++11 ELF/DWARF parser
MIT License
317 stars 99 forks source link

Fixed cannon_hdr case statement #5

Closed abenkhadra closed 9 years ago

abenkhadra commented 9 years ago

Fixed a bug when reading 32 bit ELF files. ELF Header canonization works fine in case of elfclass::_32 but flow of control continues to elfclass::_64 causing parsing errors. Adding break statements fixes the issue.