C call tree

M

Max

Hi all,
in order to complete the documentation of a C program, I would like to
have a graphical representation of the function call tree. Do you know
any program able to do that? I have already tried calltree and cflow,
but I am not really satisfied with them. It would be very nice if once
the main() routine is given, such a program would look inside the
source (or object) files and returns a graph (better if in a format
that I can modify later). In my case pointer to function are not used
very often, so I could survive if such a feature is missing.
Any suggestion?
Thanks
Max
 
B

Ben C

Hi all,
in order to complete the documentation of a C program, I would like to
have a graphical representation of the function call tree. Do you know
any program able to do that? I have already tried calltree and cflow,
but I am not really satisfied with them. It would be very nice if once
the main() routine is given, such a program would look inside the
source (or object) files and returns a graph (better if in a format
that I can modify later). In my case pointer to function are not used
very often, so I could survive if such a feature is missing.
Any suggestion?
Thanks
Max

Recent versions of kscope do a graphical call tree.

http://kscope.sourceforge.net/
 
J

James Dow Allen

Max said:
Hi all,
in order to complete the documentation of a C program, I would like to
have a graphical representation of the function call tree.

gprof doesn't output in pictorial form (and ignores uncalled
functions) but does provide other useful information.

James
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,774
Messages
2,569,598
Members
45,150
Latest member
MakersCBDReviews
Top