help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: Call graph emacs tool


From: Richard Riley
Subject: Re: Call graph emacs tool
Date: Sat, 21 Aug 2010 03:50:07 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

Suvayu Ali <fatkasuvayu+linux@gmail.com> writes:

> 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,
> <http://i288.photobucket.com/albums/ll164/jalladandtux/screenies/emacs-symbol-reference-w-cedet.png>

What is that supposed to be? Is that a call stack?




reply via email to

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