Date: Mon, 6 Aug 2007 23:45:49 +0200 From: Marcus von Appen <mva@sysfault.org> To: freebsd-standards@freebsd.org Subject: cgraph POSIX compliant [was: Re: First rudimentary version of the cflow utility] Message-ID: <20070806214549.GA937@medusa.sysfault.org> In-Reply-To: <20070802084314.GB1159@medusa.sysfault.org> References: <20070802084314.GB1159@medusa.sysfault.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--a8Wt8u1KmwUX3Y2C Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Hi, after spending some more time on the cgraph part, it is finished so far. The cgraph utility is POSIX compliant now and should produce correct flowgraphs for ANSI C source code. It can not process function definitions using the K&R style (how important is it to support K&R?) correctly, but produces more exact flowgraphs than GNU cflow (v1.2) and devel/cflow in a direct comparision (those cannot deal with K&R either, by the way ;-). Its -ACP flags are not implemented for now, all others (-CdirR) should work as documented in the manpage. I thought about using gcc -E for processing #include directives and macros, its output might however break the correct line information, so I guess it can not be used for POSIX compliant output (but as an enhancement) and also might confuse the user, if he looks for the matching line. Maybe the line information should be dropped if using the preprocessor. The latest version can downloaded from http://sysfault.org/freebsd/cflow-20070806.tar.gz. For those interested in its progress I recommend to check http://sysfault.org/freebsd/ from time to time for a new version or to send me a mail and I'll keep them up to date with the minor changes (of course outstanding news will be spammed to standards@). Feedback, suggestions and critics are welcome. Regards Marcus --a8Wt8u1KmwUX3Y2C Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (FreeBSD) iD8DBQFGt5aNo/JpszXavhwRAvv3AJ0Vy07bF0qX14N5GG+OLhe6U9Le2ACfTyZB 7KApGqR1g3Wl1BGzabmYrTg= =vX4H -----END PGP SIGNATURE----- --a8Wt8u1KmwUX3Y2C--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070806214549.GA937>