-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add "offset" argument to ElfNSlice::iter
So far iteration over an ElfNSlice was assumed to always start with the slice's first element. With upcoming changes we are going to adjust that, similarly to how things already work for ElfN_BoxedSyms. With this change we introduce a start index argument to the ElfNSlice::iter() method, which causes iteration to start at said index. Signed-off-by: Daniel Müller <deso@posteo.net>
- Loading branch information
Showing
3 changed files
with
6 additions
and
6 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
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