Skip to content

Snorch/call_tree_builder

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Call Tree Builder

This project is mainly for converting call tree graphs described in CCTree format, into .dot format.

One useful usecase:

  • Collect several call tree graphs generated by CCTree vim plugin, put them into one file graph.cct
  • Convert to .dot: run build_call_tree.py <path/to/graph.cct> <path/to/graph.dot>.
  • Convert to .gml (via graphviz): run gv2gml <path/to/graph.dot> -o <path/to/graph.gml>.
  • Load .gml file in yEd.
  • In yEd go to Ctrl+A -> Tools -> Fit node to label, then Layout -> Hierarchical Now your can move nodes as you like and create some useful painted call graphs.

Example cctree graph:

(example.cct)

+-> node a
  +-> node b # comment edge a->b

+-< node b
  +-< node c # comment edge c->b

+-> node c
  +-> node d #1
  +-> node e #2
  +-> node f #3

Example gml visualization in yEd:

example.png

About

Build call graphs from cctree formated graph

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages