News for hackers. Stuff that matters.
Re:Writing a Linux Debugger (2017) by chc4 on Wednesday June 14, 2023 @08:20PM (#36334799)
The Rust goblin and gimli crates are very good, I've used them for ELF symbol resolution things before and they're a dream compared to libelf.
Re:Writing a Linux Debugger (2017) by jcranmer on Wednesday June 14, 2023 @09:56PM (#36335494)
gimli works well enough for actually parsing the DWARF format, but it abstracts over somewhat less than what you would hope (in particular, you get to do all the fun stuff of figuring out where debugging information is yourself--which gets tedious when you want to support things like split-dwarf or debug index).