[Top][All Lists]

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

Re: Call graph emacs tool

From: Pranav Peshwe
Subject: Re: Call graph emacs tool
Date: Sat, 21 Aug 2010 08:43:11 +0530

If I've understood you correctly, any tool that can build a (static) call graph should suffice. Just that, you'll have to manually reverse trace paths starting from function().


On Fri, Aug 20, 2010 at 9:45 PM, George Kadianakis <> wrote:

I think I'm loosing faith in Emacs. It's the first time I'm looking
for a tool and I don't get countless .el scripts with a trivial Google

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?

Thank you :)

reply via email to

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