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

elf: allow for absence of dynstr #646

Merged
merged 1 commit into from
Mar 19, 2024
Merged

Conversation

philipc
Copy link
Contributor

@philipc philipc commented Mar 18, 2024

.dynstr doesn't need to be present if there are no dynamic strings.

  • handle section index 0 in read::elf::SectionTable::strings
  • don't require .dynstr when writing if there are no strings
  • don't print name of symbol index 0 in readobj example

.dynstr doesn't need to be present if there are no dynamic strings.

- handle section index 0 in read::elf::SectionTable::strings
- don't require .dynstr when writing if there are no strings
- don't print name of symbol index 0 in readobj example
@philipc philipc merged commit f3432e9 into gimli-rs:master Mar 19, 2024
10 checks passed
@philipc philipc deleted the elf-nosym branch March 19, 2024 04:56
mcbegamerxx954 pushed a commit to mcbegamerxx954/object that referenced this pull request Jun 15, 2024
.dynstr doesn't need to be present if there are no dynamic strings.

- handle section index 0 in read::elf::SectionTable::strings
- don't require .dynstr when writing if there are no strings
- don't print name of symbol index 0 in readobj example
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.

1 participant