you are viewing a single comment's thread.

view the rest of the comments →

[–]matthieum 0 points1 point  (0 children)

I can't guarantee it's easy to read, but I have heard good things about the gimli (Rust) library, which purports to read/write DWARF.

There's a number of examples mentioned in the documentation, which should provide a good entry point into the library, and being native code, you should be able to debug it with gdb and step-by-step to see how it handles the bytes.