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: Call graph emacs tool Date: Fri, 20 Aug 2010 19:15:43 +0300 Message-ID: <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 1282338100 2325 80.91.229.12 (20 Aug 2010 21:01:40 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 20 Aug 2010 21:01:40 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 20 23:01:39 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 1OmYiY-0001tA-D1 for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Aug 2010 23:01:38 +0200 Original-Received: from localhost ([127.0.0.1]:36997 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OmYiY-0003kY-0N for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Aug 2010 17:01:38 -0400 Original-Received: from [140.186.70.92] (port=49666 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1OmUHY-0000C4-QW for help-gnu-emacs@gnu.org; Fri, 20 Aug 2010 12:17:34 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.69) (envelope-from ) id 1OmUHT-0003Sb-5c for help-gnu-emacs@gnu.org; Fri, 20 Aug 2010 12:17:28 -0400 Original-Received: from mail-ey0-f169.google.com ([209.85.215.169]:53873) by eggs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1OmUHT-0003SP-1b for help-gnu-emacs@gnu.org; Fri, 20 Aug 2010 12:17:23 -0400 Original-Received: by eyg7 with SMTP id 7so2376719eyg.0 for ; Fri, 20 Aug 2010 09:17:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:subject:user-agent :date:message-id:mime-version:content-type; bh=M0OVAG1ZV2MCownWJ52YWFHAge+vxJfRmtWwjwz3eHQ=; b=sek5LtNZ1TM27GHuW/BktYTRNrI+DFA+/IYKY89moUsyXqDBmwL672rDWxjQ0qHyJW nhOGranhLEqIgRoMBYaEIG4To0547Op4PX1YOo7WAwJK4w4q/h16EHmFo6SAToEgx7cW L6f5+l1UMoe0rckehAR7/sa17audPH0JAJMyk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:subject:user-agent:date:message-id:mime-version :content-type; b=FPB69gmzn1yXlAyQGNjt8W4n61QONaasJ1A455kBtP3IGk7kz6PjcK25xGIOxBDCxq WXpbZkWQbW+wjbFG9FJjcNBki9pTej/joI/6FxDPyU8AuuonSYjlrMTh71mvIQ50EmVc lOoG3xzJHKHUVhka8YG+XxDD9ZpObXuKMXk6I= Original-Received: by 10.213.12.196 with SMTP id y4mr1523402eby.89.1282321041201; Fri, 20 Aug 2010 09:17:21 -0700 (PDT) Original-Received: from grayskull.tare.com ([83.212.104.6]) by mx.google.com with ESMTPS id v59sm5022984eeh.16.2010.08.20.09.17.19 (version=TLSv1/SSLv3 cipher=RC4-MD5); Fri, 20 Aug 2010 09:17:19 -0700 (PDT) User-Agent: Microsoft Outlook Express 5.50.4522.1200 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Fri, 20 Aug 2010 17:01:03 -0400 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:74754 Archived-At: 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 :)