logoalt Hacker News

Durin is a library for reading and writing the Dwarf debugging format

59 pointsby mooredsyesterday at 6:35 PM13 commentsview on HN

Comments

vlovich123yesterday at 8:51 PM

How does this compare with gimli-rs? Last I checked it was the absolute leader in performance.

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

show 1 reply
woodruffwtoday at 12:16 AM

DWARF is such a neat little format. I have a soft spot for the "line program" table, which is a little state machine that allows DWARF to efficiently encode a line/column correspondence for virtual addresses.

iouyesterday at 8:15 PM

I sure hope there’s an anti-debug framework called Durin’s Bane?

show 2 replies
zidelyesterday at 10:49 PM

One interesting thing about the dwarf format is that it is executable and Turing complete, running small programs on a virtual machine to figure out file names, line numbers and exception handling.

show 1 reply
wavemodeyesterday at 8:53 PM

Several of the examples seem to be empty (e.g. https://github.com/tmcgilchrist/durin/blob/master/example/dw...)

Also, the link to OPAM documentation leads to a 404

show 1 reply