all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Pranav Peshwe <pranavpeshwe@gmail.com>
To: George Kadianakis <desnacked@gmail.com>
Cc: help-gnu-emacs@gnu.org
Subject: Re: Call graph emacs tool
Date: Sat, 21 Aug 2010 08:43:11 +0530	[thread overview]
Message-ID: <AANLkTimwk+MZgUu6htpp46pNk25MzYLa-uQ+Vvy-5Psd@mail.gmail.com> (raw)
In-Reply-To: <87pqxdtg40.fsf@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1132 bytes --]

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().

Do CMIIW...

On Fri, Aug 20, 2010 at 9:45 PM, George Kadianakis <desnacked@gmail.com>wrote:

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

[-- Attachment #2: Type: text/html, Size: 1535 bytes --]

  parent reply	other threads:[~2010-08-21  3:13 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=AANLkTimwk+MZgUu6htpp46pNk25MzYLa-uQ+Vvy-5Psd@mail.gmail.com \
    --to=pranavpeshwe@gmail.com \
    --cc=desnacked@gmail.com \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.