Pulling the source

To download the Callgraph scripts from the Mercurial repository:

cd $HOME
hg clone http://hg.mozilla.org/rewriting-and-analysis/callgraph

Building

Assuming your gcc and treehydra are in the locations suggested in the installation instructions, invoke the callgraph script via

cd $HOME/callgraph
#./callgraph.sh path/to/plugin/enabled/gcc path/to/treehydra
./callgraph.sh $HOME/gcc-dehydra/installed/bin $HOME/gcc-dehydra/dehydra

The callgraph script will do the following:

A different mozilla-central location can be used by editing the $HOME/callgraph/callgraph.sh script. The default mozconfig options are --disable-optimize --disable-debug --disable-tests.

For information on what is stored in the database, see the Schema Reference.