473,413 Members | 1,807 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,413 software developers and data experts.

C call tree

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
3 6201
"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
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

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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: Brano Zarnovican | last post by:
Hi ! If I define 'f' like this def f(a): print a then, the call with keywords f(1, optional=2)
6
by: Vinay | last post by:
Hi Everybody I have been looking out for a Function call tree command in Unix environment. Given a piece of source code(millions of lines), there is a function F1() calling F2() calling F3()....
1
by: Phoe6 | last post by:
Hi all. I am using IDLE when I am on the python shell, I do: >>>import os >>>os.mkdir('newdir') >>>from dirutils import dir_util >>>#copy a big directory tree...
2
by: techsatish | last post by:
Hi, I want the double click event to call(here not able to get the MouseEventArgs) and execute the mouseup event code or any one tell me how to make my treecontrol double click nodes to behave...
5
by: Ham | last post by:
Hi I am looking for a function call tree program to map the function calls of my project. I however do not want to compile my project. All the programs I have found for this require you to...
2
by: Jim | last post by:
Hello, I need a program that will traverse a directory tree to ensure that there are unix-style line endings on every file in that tree that is a text file. To tell text files from others I...
5
by: GCRhoads | last post by:
I have some templated functions and I want to write a call wrapper class for it. I also want to pass the function object from this class to some functions that will then call the function...
6
by: mh | last post by:
I'm cleaning up some old code, and want to see what orphan functions might be sitting around. Is there a static call tree analyzer for python? Many TIA! Mark -- Mark Harrison
2
by: aaragon | last post by:
Hi guys, Is there a way to return a functor from a recursive call that takes different paths? Let's say that I have a tree structure like: root | first child ---- nextSibling ----nextSibling...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.