Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
elf: Return an empty file range for SHT_NOBITS sections (#253)
* Return an empty file range for SHT_NOBITS sections ELF sections with type SHT_NOBITS only exist in memory, and don't contain any data in the ELF file itself. Fixes #252. * Return an option from SectionHeader::file_range() Some sections don't occupy any space in the file, for these sections we now return None instead of a range.
- Loading branch information