Date: Thu, 2 Aug 2007 10:43:15 +0200 From: Marcus von Appen <mva@sysfault.org> To: freebsd-standards <freebsd-standards@freebsd.org> Subject: First rudimentary version of the cflow utility Message-ID: <20070802084314.GB1159@medusa.sysfault.org>
next in thread | raw e-mail | index | archive | help
--NMuMz9nt05w80d4+ Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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. 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 ;-). 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. As soon as I finished the C graph part, I'll go on to add lex and yacc support. The complete cflow utility should consist of a main shell script, which takes care of determining the file type and pass it to the corresponding program (cgraph, lexgraph, yaccgraph) to print the call graphs. Regards Marcus --NMuMz9nt05w80d4+ Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGsZkio/JpszXavhwRAihmAJ4ugHE8qnBrU3AYBA78fPx0ZD0qUwCfeMid j+ZqhTxjnBUC5dKCMMw/LwE= =dbam -----END PGP SIGNATURE----- --NMuMz9nt05w80d4+--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070802084314.GB1159>