[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Call graph emacs tool

From: Suvayu Ali
Subject: Re: Call graph emacs tool
Date: Fri, 20 Aug 2010 18:38:23 -0700
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20100720 Fedora/3.1.1-1.fc13 Lightning/1.0b2pre Thunderbird/3.1.1

On Friday 20 August 2010 09:15 AM, George Kadianakis wrote:
I'm looking for a tool (preferably an Emacs tool, but_seriously_
anything will do) that will give me all possible code paths to a given
function of a C project.

For example:
Input: (magic-script function)
Output: 1) main() [main.c] ->  function_1() [main.c] ->  function_2() [oh.c] ->  
function_3() [oh.c] ->  function_4() [ohlol.c] ->  function() [yay.c]
         2) main() [main.c] ->  function_5() [yay.c] ->  function_3() [oh.c] ->  
function_2() [oh.c] ->  function() [yay.c]
         3) etcetera

GNU cflow is actually doing that_but_  it doesn't support multiple
source files and it's not Emacs integrable.

Do you people know of any such tools?

I am not sure what you mean by all possible code paths to a function, but if you mean something like this,

Then you can take a look at Semantic and the CEDET project[1].


Open source is the future. It sets us free.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]