Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
simark committed Feb 7, 2014
1 parent cd25886 commit 98a5fea
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@

A visual, tree-based, DWARF explorer. It uses [pyelftools](https://github.com/eliben/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.

python3 dwarftree.py

Finally, you can use the superior input device (AKA the mouse ;) to open up `a.out`.

## Dependencies

* Python 3
Expand Down

0 comments on commit 98a5fea

Please sign in to comment.