A visual, tree-based, DWARF explorer. It uses pyelftools.
What do I do ?
If you have a recent compiler, it might user DWARF 4. At least, this is the case with gcc 4.8.2-10ubuntu2. pyelftools doesn't seem to support it yet, so make sure to compile with DWARF 3.
gcc -gdwarf-3 test.c
Then, open dwarftree.
Finally, you can use the superior input device (AKA the mouse ;) to open up
- Python 3
sudo pip3 install pyelftools
- PyGObject / PyGI