Skip to content

write: improve StringTable error handling#905

Merged
philipc merged 1 commit into
gimli-rs:mainfrom
philipc:strtab
May 22, 2026
Merged

write: improve StringTable error handling#905
philipc merged 1 commit into
gimli-rs:mainfrom
philipc:strtab

Conversation

@philipc
Copy link
Copy Markdown
Contributor

@philipc philipc commented May 22, 2026

Change asserts to debug_asserts, and check error conditions during write.

Breaking change:

  • write::elf::Writer::reserve_strtab/reserve_shstrtab/reserve_dynstr and write::coff::Writer::reserve_symtab_strtab now return a Result

Change asserts to debug_asserts, and check error conditions during `write`.

Breaking change:
- write::elf::Writer::reserve_strtab/reserve_shstrtab/reserve_dynstr and
  write::coff::Writer::reserve_symtab_strtab now return a Result
@philipc philipc merged commit 8cc9d21 into gimli-rs:main May 22, 2026
10 checks passed
@philipc philipc deleted the strtab branch May 22, 2026 00:55
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