Hacker News new | ask | show | jobs
by notaplumber1 1154 days ago
I'm pretty sure parsing ELF binaries is out of scope for kdump(1), sorry, but I don't think that's going to happen.

It's not that difficult to run addr2line yourself with the information provided, and that's really for the best.

1 comments

You are arguing for a worse UX because of an arbitrary reason. Just link against the code in addr2line. Providing a good UX should always be in scope for a project.
How does one "just link against the code in addr2line" ?
You rename them main symbol to something else then you just call it like any other library.
addr2line is unlikely to be a trivial self-contained program without dependencies.
Then link to those dependencies.
Unnecessary. Most people's hands will be able to type up the required shell one-liner to do this.