views:

2509

answers:

4

I have a large work space which has many source files of C code. Although I can see the functions called from a function in MS VS2005 using the Object browser, and in MSVC 6.0 also, this only shows functions called from a particular function in a non-graphical kind of display. Additionally, it does not show the function called starting from say main(), and then the functions called from it, and so on, deeper inside to the leaf level function.

I need a tool which will give me a function call graph pictorially with functions callee and caller connected by arrows or something like that, starting from main() to the last level of function, or at least showing a call graph of all functions in one C source file pictorially. It would be great if I could print this graph.

Any good tools to do that (need not be free tools)?

-AD.

+4  A: 

doxygen (combined with graphviz) can generate call graphs.

finnw
+4  A: 

Understand does a very good job of creating call graphs.

MattK
+1  A: 
philippe
+1  A: 

aiCall for C is the most robust and sophisticated tool out there, IMHO.

RegDwight