oxidecomputer / oxidecomputer/hubris
`objdump -S` currently broken
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 3.6k
- Forks
- 239
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 23
Description
Displaying source code interspersed with disassembly output is currently broken in objdump, after our change to rewrite paths in debug info. objdump supports a --prefix option for prepending a source search path to paths, but it does just that -- prepends. We need something fancier, which it doesn't support.
Note that objdump -l makes for a pretty ok substitute for the time being.
Contributor guide
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
Start by reproducing the broken objdump -S output after debug-info paths are rewritten, then compare it with the working objdump -l output and the behavior of --prefix. Done means source code is again interspersed with disassembly when rewritten paths require more than simple prepending.
Written by the indexing model from the issue text.
Assessment
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 42/100