Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

read/elf: handle empty symbol tables #443

Merged
merged 1 commit into from
Jun 22, 2022
Merged

Conversation

philipc
Copy link
Contributor

@philipc philipc commented Jun 20, 2022

Return None from ElfFile::symbol_table and ElfFile::dynamic_symbol_table if the tables are empty.

Fixes gimli-rs/addr2line#250

Return `None` from `ElfFile::symbol_table` and
`ElfFile::dynamic_symbol_table` if the tables are empty.
@philipc philipc merged commit b47d17c into gimli-rs:master Jun 22, 2022
@philipc philipc deleted the empty-symbol branch June 22, 2022 06:37
mcbegamerxx954 pushed a commit to mcbegamerxx954/object that referenced this pull request Jun 15, 2024
Return `None` from `ElfFile::symbol_table` and
`ElfFile::dynamic_symbol_table` if the tables are empty.
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.

Can't resolve libc symbol - which is found by C addr2line
1 participant