Re: Static call graphs?
Hi Rick,
Yes, PDT supports supports callgraphs.
% cxxparse file.cpp <options>
% pdbtree -R file.pdb
will show you the static routine callgraph.
It can also show you the class hierarchy and file inclusion graph
(-C and -S options instead of -R). See PDT's README file for further
information.
Thanks,
- Sameer
On Wed, 17 Dec 2003, Rick Kufrin wrote:
> We were having a discussion a little earlier today and wondering
> what tools (open source) might be available for generating
> a static call graph from C/C++/Fortran source. Not something
> like a gprof, but something that works from the program source
> itself. I know that TAU's PDT does program analysis and
> generates a program database but beyond that I couldn't think
> of anything. Does anyone on this list have any suggestions
> or recommendations?
>
> Rick
>