Addresses #369, #370. Instead of infinite loops, the library will raise exceptions.
I don't know what was the original motivation for making e_shentsize and e_phentsize variable; assuming it was for some kind of vendor extensions, but if the size is less than the mandated fields, ELFFile will now throw.
Addresses #369, #370. Instead of infinite loops, the library will raise exceptions.
I don't know what was the original motivation for making e_shentsize and e_phentsize variable; assuming it was for some kind of vendor extensions, but if the size is less than the mandated fields, ELFFile will now throw.