dwarves

Gem Version

DWARF parser (only the .debug_info section for now) using parslet and unix utilities.

Source code is avaiable under MIT license at https://github.com/jethrodaniel/dwarves.


What it do

Parses DWARF format, as outputed by the following:

  • readelf --debug-dump=info
  • objdump --dwarf=info

Future

  • more than just .debug_info section
  • parse object files with rbelftools

Installation

gem install dwarves

Development

A good test for the parser is to parse its own input, since we reconstruct the output when printing.

./bin/readelf | bundle exec ./exe/dwarves | bundle exec ./exe/dwarves

Contributing

Bug reports and pull requests are welcome on GitHub at https://github.com/jethrodaniel/dwarves.

License

The gem is available as open source under the terms of the MIT License.

Resources