libbpf / blazesym

blazesym is a library for address symbolization and related tasks
BSD 3-Clause "New" or "Revised" License
115 stars 24 forks source link

Consider switching to `goblin` for ELF support #586

Open danielocfb opened 7 months ago

danielocfb commented 7 months ago

We may want to consider switching to using the goblin crate for our ELF parsing needs. As per my understanding it is stable and used in many contexts. Doing so could also help with issues such as https://github.com/libbpf/blazesym/issues/64 and https://github.com/libbpf/blazesym/issues/53. The reasons for rolling our own ELF parser were somewhere along the lines of performance, but never backed by data to the best of my knowledge.

danielocfb commented 6 months ago

Oops, I meant to write goblin, as that's the main ELF crate in the Rust eco system. gimli is for DWARF.