Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Mar 2004 13:17:16 -0500 (EST)
From:      Robert Watson <rwatson@freebsd.org>
To:        Zajcev Evgeny <zevlg@yandex.ru>
Cc:        hackers@freebsd.org
Subject:   Re: Looking for static analysis tool to generate call graphs
Message-ID:  <Pine.NEB.3.96L.1040303131539.27227A-100000@fledge.watson.org>
In-Reply-To: <82brneh1g3.fsf@us.dmz.local>

next in thread | previous in thread | raw e-mail | index | archive | help

On Wed, 3 Mar 2004, Zajcev Evgeny wrote:

> Robert Watson <rwatson@freebsd.org> writes:
> 
> > Well, using a scary combination of grep, awk, a long list of "omit this"
> > regexp's, and prcc from cflow, I got the following: 
> >
> >     http://www.watson.org/~robert/freebsd/20040302-sockets.ps
> 
> Actually it looks kind a mess.  Maybe use dot's clustering or ranking to
> organize callgraph a little? 

Part of that is because things are somewhat convoluted :-).

I've applied some of your suggestions, as well as a bit more
noise-trimming and clarification, to:

  http://www.watson.org/~robert/freebsd/20040303-sockets.ps

Hopefully this is somewhat of an improvement.  I also added some more of
the socketvar.h macros to my "hinted" edges -- apparently prcc doesn't
really do much with our large macros, and so I was missing some edges.

Robert N M Watson             FreeBSD Core Team, TrustedBSD Projects
robert@fledge.watson.org      Senior Research Scientist, McAfee Research




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.NEB.3.96L.1040303131539.27227A-100000>