News for hackers. Stuff that matters.
Re:Durin is a library for reading and writing the Dwarf debu... by vlovich123 on Monday December 01, 2025 @03:51PM (#46113034)
How does this compare with gimli-rs? Last I checked it was the absolute leader in performance.

https://github.com/gimli-rs/gimli

Re:Durin is a library for reading and writing the Dwarf debu... by lambda_foo on Monday December 01, 2025 @05:48PM (#46114498)
Author here, a bit cringe to see your WIP project posted here.

My motivation for writing this from scratch is to simultaneously understand DWARF 5 in all its gory details, develop tooling to support my work on the OCaml compiler, and to build a source debugger in OCaml. The performance or lack of isn't a focus right now, I'm sure it doesn't compare to gimli-rs for performance but it does fully support DWARF 5 which gimli-rs doesn't (missing debug_info section support https://github.com/gimli-rs/gimli/pull/807).

Currently I'm working on the read support, and various bits of tooling around understanding Call Frame Information and simulating the DWARF expression evaluation. I'm unhappy with the tooling GDB/LLDB provide for displaying and debugging this information, I've personally spent far too much time staring at CFI expressions and walking memory looking for where it goes wrong. In the OCaml compiler we have few people that understand or work on this area.

Re:Durin is a library for reading and writing the Dwarf debu... by erichdongubler on Monday December 01, 2025 @07:06PM (#46115425)
> Author here, a bit cringe to see your WIP project posted here.

I'm confused; are you referring to GP's link to `gimli`, or your own repo in the OP?

Re:Durin is a library for reading and writing the Dwarf debu... by lambda_foo on Monday December 01, 2025 @08:16PM (#46116074)
My own repo in the OP :-)