Re: Is there Call graph in GCC ,another question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux