From owner-freebsd-standards@FreeBSD.ORG Thu Aug 2 11:27:52 2007 Return-Path: Delivered-To: freebsd-standards@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 78A6B16A41A for ; Thu, 2 Aug 2007 11:27:52 +0000 (UTC) (envelope-from schweikh@schweikhardt.net) Received: from rs1.shuttle.de (rs1.shuttle.de [194.95.249.3]) by mx1.freebsd.org (Postfix) with ESMTP id 3860C13C442 for ; Thu, 2 Aug 2007 11:27:52 +0000 (UTC) (envelope-from schweikh@schweikhardt.net) Received: by rs1.shuttle.de (Postfix, from userid 10) id 483442C0F3; Thu, 2 Aug 2007 13:03:42 +0200 (CEST) Received: from hal9000.schweikhardt.net (localhost [127.0.0.1]) by hal9000.schweikhardt.net (8.13.8/8.13.8) with ESMTP id l72B3UG7005395 for ; Thu, 2 Aug 2007 13:03:30 +0200 (CEST) (envelope-from schweikh@hal9000.schweikhardt.net) Received: (from schweikh@localhost) by hal9000.schweikhardt.net (8.13.8/8.13.8/Submit) id l72B3U1r005394 for freebsd-standards@freebsd.org; Thu, 2 Aug 2007 13:03:30 +0200 (CEST) (envelope-from schweikh) Date: Thu, 2 Aug 2007 13:03:30 +0200 From: Jens Schweikhardt To: freebsd-standards Message-ID: <20070802110330.GA1222@schweikhardt.net> References: <20070802084314.GB1159@medusa.sysfault.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20070802084314.GB1159@medusa.sysfault.org> User-Agent: Mutt/1.5.14 (2007-02-12) Subject: Re: First rudimentary version of the cflow utility X-BeenThere: freebsd-standards@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Standards compliance List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 02 Aug 2007 11:27:52 -0000 On Thu, Aug 02, 2007 at 10:43:15AM +0200, Marcus von Appen wrote: # Hi, # # as I wrote in the middle of the last year I started to work on an own # implementation of the cflow utility for FreeBSD, so it can be imported # into the main src tree without any legal issues. # # A first rudimentary version for C file graphs is now ready and can be # downloaded from http://sysfault.org/freebsd/cflow.tar.gz # # Executing ./cgraph sourcefile.c should print out a nice call graph of # the source file. I know it's likely too early, but a good test for fitness is to verify if it can deal with the source of the base system. If you want to be more thorough, check all the ports as well (or a large number of the big ones; xorg, openoffice, ..) # The cgraph utility currently does not implement the arguments as # specified by the POSIX standard, but keep in mind that it is a really # early work in progress ;-). Okay, I understand. # It can deal with plain C source files and currently does not take # includes or macro substitutions into account although a later version # should do, so that both, function definitions and macros, can be # resolved correctly. Ha, so you got the easy stuff done, now for the hard part :-) Regards, Jens -- Jens Schweikhardt http://www.schweikhardt.net/ SIGSIG -- signature too long (core dumped)