Skip to content

Allow iterator to return ELF_ITER_NOTFOUND when not found.#14

Merged
elfmaster merged 1 commit intoelfmaster:masterfrom
strazzere:master
Feb 7, 2020
Merged

Allow iterator to return ELF_ITER_NOTFOUND when not found.#14
elfmaster merged 1 commit intoelfmaster:masterfrom
strazzere:master

Conversation

@strazzere
Copy link
Copy Markdown
Contributor

Previously, when using elf_shared_object_iterator_next, if ldso_cache_bsearch
fails to find a file, it would return an error, causing the iterator to become useless
and no longer iterate. This will allow the caller to consume an ELF_ITER_NOTFOUND
event and continue processing dependancies.

Previously, when using `elf_shared_object_iterator_next`, if `ldso_cache_bsearch`
fails to find a file, it would return an error, causing the iterator to become useless
and no longer iterate. This will allow the caller to consume an `ELF_ITER_NOTFOUND`
event and continue processing dependancies.
@elfmaster
Copy link
Copy Markdown
Owner

Nice work.

@elfmaster elfmaster closed this Feb 7, 2020
@elfmaster elfmaster reopened this Feb 7, 2020
@elfmaster elfmaster merged commit eb74319 into elfmaster:master Feb 7, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants