gimli
A zero-copy parser for the DWARF debugging format.
Bring your own object file loader: gimli
makes no assumptions about what kind
of object file you're working with. The flipside to that is that it's up to you
to provide an ELF loader on Linux or Mach-O loader on OSX.
Either
$ cargo add gimli
or add this to your Cargo.toml
:
[dependencies]
gimli = "0.2.0"
Better documentation and examples
Gracefully handle all reserved values and vendor extensibility points
Be more future compatible by using "unknown" variants rather than throwing parse errors when we find something unexpected
DWARF expressions and location descriptions
~~A CompilationUnitHeader iterator that skips across the DIE tree and just yields each header.~~
TypeUnitIterator
-- where do
PartialUnit
s fall into this again?Cursor-based DIE parsing
Make a common Unit
trait for all CompilationUnit
, TypeUnit
, and
PartialUnit
so DIEs can just have a fat pointer to their unit rather than be
generic.