Notes from a Medium-Sized Island [entries|archive|friends|userinfo]

[ website | My Website ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

[Jun. 15th, 2010|11:22 am]
[Tags|, , ]

There is a handy perl script called "egypt" for translating the RTL output you get from gcc with the -dr option into graphviz/dotty notation, in order to visualize the call graph of a program.

Why is it called Egypt? From the documentation:

Egypt was going to be called rtlcg, short for RTL Call Graph
but it turned out to be one of those rare cases where ROT13'ing the
name made it easier to remember and pronounce.