all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Call graph emacs tool
@ 2010-08-20 16:15 George Kadianakis
  2010-08-21  1:38 ` Suvayu Ali
  2010-08-21  3:13 ` Pranav Peshwe
  0 siblings, 2 replies; 11+ messages in thread
From: George Kadianakis @ 2010-08-20 16:15 UTC (permalink / raw
  To: help-gnu-emacs

Greetings,

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
search.

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 :)



^ permalink raw reply	[flat|nested] 11+ messages in thread
* Re: Call graph emacs tool
@ 2010-08-25 17:02 George Kadianakis
  0 siblings, 0 replies; 11+ messages in thread
From: George Kadianakis @ 2010-08-25 17:02 UTC (permalink / raw
  To: help-gnu-emacs

Gary wrote:

>George Kadianakis wrote:
>> I'd like it to be able to give me code paths that span
>> multiple files (cflow can only process a single source file).
>
>> [1]:
>> http://www.gnu.org/software/cflow/manual/cflow.html#Direct-and-Reverse
>
>Are you sure? "GNU cflow analyzes a *collection of* C source files and
>prints a graph, charting control flow within the program."  (my
>emphasis).

Hey,

yeah I noticed the emphasized part in cflow's DESCRIPTION as well, but
by doing some brief checks and studying the online manual [1], I see
no sign of cflow being able to understand source file relationships.

I'm intrigued on writing this myself (most probably on top of cflow),
but I'm trying to avoid finding out in a week that this has already
been done.

Anyone else that is aware of such a tool is most welcome to post :) 

PS: Sorry for fubaring the mail threading, but I'm not subscribed to
the list and I forgot to request CC:ing :)

[1]: http://www.gnu.org/software/cflow/manual/cflow.html



^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2010-08-25 17:02 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-08-20 16:15 Call graph emacs tool George Kadianakis
2010-08-21  1:38 ` Suvayu Ali
2010-08-21  1:50   ` Richard Riley
2010-08-21  3:04     ` Suvayu Ali
2010-08-21  3:13 ` Pranav Peshwe
2010-08-21 12:36   ` George Kadianakis
2010-08-21 16:18     ` Gary
2010-08-21 18:07     ` Suvayu Ali
     [not found]     ` <mailman.5.1282414155.26890.help-gnu-emacs@gnu.org>
2010-08-24 15:52       ` rustom
     [not found]   ` <mailman.0.1282394304.15763.help-gnu-emacs@gnu.org>
2010-08-21 15:35     ` rustom
  -- strict thread matches above, loose matches on Subject: below --
2010-08-25 17:02 George Kadianakis

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.