bonzini / vrc

A tool to visualize call graphs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

vrc

vrc is a tool to read the call graph from GCC RTL dumps. It is inspired by the egypt tool ("egypt" is rot13 for "rtlcg" aka RTL call graph), with a lot of new functionality:

  • interactive mode with readline + completion

  • query call graph in addition to generating DOT file

  • consult compile_commands.json to find/build dumps automatically

  • virtual (manually created) nodes and edges

The name is unfortunately not rot13 anymore. It stands for "visit RTL callgraph".

Installation

pip install --user . will install an executable called vrc.

Usage

Run it in a directory that has a compile_commands.json file.

Documentation coming soon. For now, the help command and TAB completion are your friends.

Copyright

vrc is distributed under the GNU General Public License, version 3 or later.

About

A tool to visualize call graphs


Languages

Language:Python 69.9%Language:C++ 24.1%Language:Cython 2.3%Language:Meson 1.7%Language:C 1.1%Language:Shell 0.9%