From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: George Kadianakis Newsgroups: gmane.emacs.help Subject: Re: Call graph emacs tool Date: Sat, 21 Aug 2010 15:36:26 +0300 Message-ID: <87iq34ta5x.fsf@gmail.com> References: <87pqxdtg40.fsf@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1282394333 9616 80.91.229.12 (21 Aug 2010 12:38:53 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 21 Aug 2010 12:38:53 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Pranav Peshwe Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 21 14:38:51 2010 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1OmnLU-0003Su-KW for geh-help-gnu-emacs@m.gmane.org; Sat, 21 Aug 2010 14:38:48 +0200 Original-Received: from localhost ([127.0.0.1]:50447 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OmnLU-0005IP-3w for geh-help-gnu-emacs@m.gmane.org; Sat, 21 Aug 2010 08:38:48 -0400 Original-Received: from [140.186.70.92] (port=39080 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OmnL4-0005IK-84 for help-gnu-emacs@gnu.org; Sat, 21 Aug 2010 08:38:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OmnL2-0003Qv-QB for help-gnu-emacs@gnu.org; Sat, 21 Aug 2010 08:38:22 -0400 Original-Received: from mail-ey0-f169.google.com ([209.85.215.169]:50978) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OmnL2-0003Qr-Lo for help-gnu-emacs@gnu.org; Sat, 21 Aug 2010 08:38:20 -0400 Original-Received: by eyg7 with SMTP id 7so2863641eyg.0 for ; Sat, 21 Aug 2010 05:38:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject :in-reply-to:references:user-agent:date:message-id:mime-version :content-type; bh=3rKYfvycUN+rPp4uJFuXiTRKLxAv45kzzLAAPQRBZEs=; b=DJ1H9a6IADBLbjLtM5KMCASfbHx08wCkAmCcLaVTiA5+fxmnJEIytejfj1CZY3ti89 sl76B8n6EON6YVy8jD6OO3eq30KWD0CQOb3pp7n0O8rAl2Zs5t4UWn+Dr/klW0T9vO1a yt9Je+OSe1rXlCBKsJODgIPtS5uLtdJrUIT9w= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:in-reply-to:references:user-agent:date :message-id:mime-version:content-type; b=S5LrdjWGMlSIB2Z3cwv3HisSs4dkW7BfB8LobWM4xgjYPcggsK+tFP1HtP0+aaX08J PlPim8sx0WlEMhSaHjzAnftCLkpyiis3WSbaDV+WG3ijrb4RatTMZZUUtDeZFBuse/Ch 6EwvzVlekGwM+jnjXib3sQqry/YJpTGm+JhsI= Original-Received: by 10.213.20.4 with SMTP id d4mr2388629ebb.94.1282394298676; Sat, 21 Aug 2010 05:38:18 -0700 (PDT) Original-Received: from grayskull.tare.com ([83.212.104.6]) by mx.google.com with ESMTPS id a48sm6801340eei.18.2010.08.21.05.38.16 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sat, 21 Aug 2010 05:38:17 -0700 (PDT) In-Reply-To: (Pranav Peshwe's message of "Sat, 21 Aug 2010 08:43:11 +0530") User-Agent: Microsoft Outlook Express 5.50.4522.1200 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:74762 Archived-At: Pranav Peshwe writes: > 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... > Practically, yes. But the process of manually reversing the trace path is not easy because of the multiple code paths that may lead to a function call. What I'm looking for, is basically what GNU cflow calls a reverse graph [1] but I'd like it to be able to give me code paths that span multiple files (cflow can only process a single source file). Suvayu Ali writes: > 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]. > > [1]http://cedet.sourceforge.net/ Unfortunately, Semantic or etags don't have the functionality I look for. [1]: http://www.gnu.org/software/cflow/manual/cflow.html#Direct-and-Reverse