Date: Thu, 17 Jan 2008 20:53:48 +0100 From: Ed Schouten <ed@fxq.nl> To: FreeBSD Current <freebsd-current@freebsd.org> Subject: Re: BSD cflow available Message-ID: <20080117195348.GA67081@hoeg.nl> In-Reply-To: <20080117190011.GA1094@medusa.sysfault.org> References: <20080117190011.GA1094@medusa.sysfault.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello Marcus, * Marcus von Appen <mva@sysfault.org> wrote: > Those interested in it are invited to test it out and blame me for any > error that occurs. You can get the most recent version either using the > bzr repository at http://sysfault.org/freebsd/cflow or by downloading > on of the source packages available at http://sysfault.org/freebsd/. >=20 > Once downloaded (and extracted), you can build it using make. > Afterwards you will find the assembler flowgraph generator under > asmgraph/, the C flowgraph generator under cgraph/: >=20 > ./asmgraph/asmgraph test/posixtest_nasm.s > ./cgraph/cgraph test/posixtest.c >=20 > As I did not integrate it into a local src/ tree for now, use both > programs directly, not the cflow.sh shell script. I just tried cgraph to see how it works, I've never used cflow before (I didn't even know it was part of POSIX). I don't know if this is required by the standards, but here it goes: When I create 2 C files: ~~~~~~~~~~~~~~~~~~ a.c: void a(void) { b(); } ~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~ b.c: void b(void) { } ~~~~~~~~~~~~~~~~~~ Two very simple C files with a function call that connects the objects together. When I run cgraph, I get this: | 1 a: void(), <a.c 1> | 2 b: <> | 1 b: void(), <b.c 1> Isn't the application supposed to resolve b as well? cflow looks like a useful utility. Hope to see it get integrated. :-) Yours, --=20 Ed Schouten <ed@fxq.nl> WWW: http://g-rave.nl/ --liOOAslEiF7prFVr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEARECAAYFAkePskwACgkQ52SDGA2eCwWGYQCfSJmF8qOmY9woqu7GWGmluFz9 qH0An0cYyovnXviQwci0/BUVgCPwAK71 =noii -----END PGP SIGNATURE----- --liOOAslEiF7prFVr--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080117195348.GA67081>