sashs / filebytes

Library to read and edit files in the following formats: Executable and Linking Format (ELF), Portable Executable (PE), MachO and OAT (Android Runtime)
https://scoding.de/filebytes-introduction
BSD 3-Clause "New" or "Revised" License
126 stars 25 forks source link

Fixed wrong equation #26

Closed Gilnaa closed 4 years ago

Gilnaa commented 4 years ago

segment.segname is a bytes, not a str. The wrong condition resulted in sections with empty an bytes attribute

Gilnaa commented 4 years ago

Also, it would be lovely if you could upload a new version to PIP with this and #24 and #25 :)

sashs commented 4 years ago

Merged Thx. Yes I will do that :D