By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
446,234 Members | 1,938 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 446,234 IT Pros & Developers. It's quick & easy.

C call tree

P: n/a
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

Jun 14 '06 #1
Share this Question
Share on Google+
3 Replies


P: n/a
"Max" <ip*******@gmail.com> wrote:
in order to complete the documentation of a C program, I would like to
have a graphical representation of the function call tree.
... I have already tried calltree and cflow,
but I am not really satisfied with them.
...
Any suggestion?


"Understand for C++" (And C, of course.)
http://www.scitools.com/products/und...pp/product.php
Jun 14 '06 #2

P: n/a
On 2006-06-14, Max <ip*******@gmail.com> wrote:
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/
Jun 15 '06 #3

P: n/a

Max wrote:
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

Jun 16 '06 #4

This discussion thread is closed

Replies have been disabled for this discussion.