Tool for creating a library call hierarchy

I have very large C ++ source code (written using standard templates). I need to understand that this is a control flow. It is an entry point main(), but inside main()it calls so many functions (which in turn calls other functions), so it becomes very difficult for me to track what is happening. I use eclipse to move between files and track, but it’s still difficult to manage since it contains about 100 files .cand .h. Is there any tool that can create a hierarchy of calls, starting with main (). Although I have 100 files, I know that it only uses about 35 files. I am on Linux. Can GCC help me with this?

+5
source share
1 answer

List of tools you can use: http://en.wikipedia.org/wiki/Call_graph

I prefer doxygen: http://www.stack.nl/~dimitri/doxygen/

An example of the doxygen call schedule from http://www-scf.usc.edu/~peterchd/doxygen/ :

call graph

+6
source

All Articles