Is there Call graph in GCC ,another question
Ken Foskey
foskey@optushome.com.au
Thu Sep 16 11:53:00 GMT 2004
On Thu, 2004-09-16 at 20:22, webman.li wrote:
> hi,
> It is fine.
> I have another question: Is there a tool that can generate call graph from source code of a program,without running the program?
The following creates a call graph from C code, C++ not supported. Look
them up in google because I cannot remember the details myself.
cxref -xref-func -I../include afpprtx.c -Nxref
xrefgraph.py -n xref.function > temp.dot
dot -Tps temp.dot > $DOTPREF.ps
--
Thanks
KenF
OpenOffice.org developer
More information about the Gcc-help
mailing list