Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* elf.dynamic: Parse DT_VERDEF + DT_VERDEFNUM dynamic tags into DynamicInfo struct * elf.symver: add struct definitions and reading part for .gnu.version_r (SHT_GNU_verdef) section * elf.symver: add tests for parsing .gnu.version_r section * elf.symver: make structs used by user more ergonomic by using usize Implement some std traits: - IntoIter - ExactSizeIterator - FusedIterator * elf.symver: add struct definitions and reading part for .gnu.version_d (SHT_GNU_verdef) section + doc example * elf.symver: Use sub-module as feature guard Use sub-module rather than macro to implement feature guard, as `cargo fmt` doesn't seem to see through the macro based approach. * add tests for parsing .gnu.version_d section * elf.symver: add struct definitions and reading part for .gnu.version (SHT_GNU_versym) section * elf.symver: add tests for parsing .gnu.version section * elf.symver: added some convenience methods to Verdef - Return 0 as lower bound in size_hint impls (better hint for corrupt ELFs) - Verdef/Verdaux/Verneed/Vernaux Iterator: Start yielding None on the next call if there is no valid next index
- Loading branch information
Showing
12 changed files
with
1,272 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.