Don't return an error when some section are not correct
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 1.5k
- Forks
- 202
- PR merge metrics
- No merged PRs in 30d
Description
I have a debug file (IBM935.so.debug) which contains some incorrect info in dynamic section and so the section failed to be parsed with error `Invalid PT_DYNAMIC size (offset 0x14db0, filesz 0x1f0)` (offset & section come from the .so file and in this file they're correct).
The problem is that I don't care at all about this section and I'd be fine to have `dynamic: None` in my Elf object.
So would it be possible to not return an error or at least have a way to configure the way to handle errors ?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Reproduce the parsing failure with IBM935.so.debug and inspect how the Elf object's dynamic section is parsed and how the Invalid PT_DYNAMIC size error is propagated. Determine whether the requested behavior should allow dynamic: None or expose configurable error handling, then verify that unrelated sections still parse successfully when this section is invalid.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- reverse-engineering
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100