Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Call graph generation
Call graph generation [message #209355] Thu, 07 February 2008 10:03 Go to next message
Eclipse UserFriend
Originally posted by: csy0013.googlemail.com

I was looking for a good call graph generator (using static analysis). So
far, I haven't found anything satisfactory. I was wondering if it would be
possible to use CDT (specifically, the module that parses and calculates
the call hierarchy) to write a Java program that builds a call graph for a
complete C/C++ project.

More specifically, how modular is the code for the C/C++
parser/call-hierarchy-generator? I have downloaded the source code of CDT.
It would be quite helpful if someone could point me in the right direction
as to where to start to pull out the parser.
Re: Call graph generation [message #209370 is a reply to message #209355] Thu, 07 February 2008 13:42 Go to previous messageGo to next message
Eclipse UserFriend
On 2008-02-07 10:03:03 -0500, csy0013@googlemail.com (sparkymat) said:

> I was looking for a good call graph generator (using static analysis).
> So far, I haven't found anything satisfactory. I was wondering if it
> would be possible to use CDT (specifically, the module that parses and
> calculates the call hierarchy) to write a Java program that builds a
> call graph for a complete C/C++ project.
> More specifically, how modular is the code for the C/C++
> parser/call-hierarchy-generator? I have downloaded the source code of
> CDT. It would be quite helpful if someone could point me in the right
> direction as to where to start to pull out the parser.

You may also want to look at Doxygen. It can generate call graphs among
it's many abilities.

Mike Jackson
Re: Call graph generation [message #209420 is a reply to message #209370] Fri, 08 February 2008 03:03 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: csy0013.googlemail.com

Mike Jackson wrote:

> You may also want to look at Doxygen. It can generate call graphs among
> it's many abilities.

Doesn't doxygen output images of the callgraph? I wanted the data in a
parse-able format. Or does it output the .dot file? Parsing the .dot file
would be do-able too.

- sparkymat
Re: Call graph generation [message #209469 is a reply to message #209420] Fri, 08 February 2008 09:53 Go to previous message
Eclipse UserFriend
On 2008-02-08 03:03:05 -0500, csy0013@googlemail.com (sparkymat) said:

> Mike Jackson wrote:
>
>> You may also want to look at Doxygen. It can generate call graphs among
>> it's many abilities.
>
> Doesn't doxygen output images of the callgraph? I wanted the data in a
> parse-able format. Or does it output the .dot file? Parsing the .dot
> file would be do-able too.
>
> - sparkymat

Don't know. Try it and see what comes out.

Mike
Previous Topic:new project types group
Next Topic:add new processor architecture to debugger
Goto Forum:
  


Current Time: Sat Aug 30 06:19:23 EDT 2025

Powered by FUDForum. Page generated in 0.03215 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top