Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Library to read ELF file DWARF debug information

Tags:

Any recommendations for a good cross-platform library for reading ELF file debug information in DWARF format? I'd like to read the DWARF debug info in a Python program.

like image 406
Craig McQueen Avatar asked Jul 09 '09 00:07

Craig McQueen


1 Answers

There's a new kid on the block - pyelftools - a pure Python library for parsing the ELF and DWARF formats. Give it a try.

It aims to be feature-complete and is currently in active development, so any problems should be handled quickly and enthusiastically :-)

like image 51
Eli Bendersky Avatar answered Sep 18 '22 12:09

Eli Bendersky