Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 25 May 1998 08:24:28 +1000 (EST)
From:      Peter Jeremy <peter.jeremy@alcatel.com.au>
To:        hackers@FreeBSD.ORG
Subject:   Re: Kernel hackers Tricks & Tips
Message-ID:  <199805242224.IAA02315@gsms01.alcatel.com.au>

next in thread | raw e-mail | index | archive | help
On Fri, 22 May 1998 23:56:37 +0200, Eivind Eklund <eivind@yes.no> wrote:
>1. The kernel is large; it is convenient to be able to grep in it
>   without it taking time corresponding to it's size.  To accomplish
>   this, you can use 'glimpse' from the ports collection
An alternative to `glimpse' is `id-utils' (also in ports).  id-utils
is more a fancy `tags' database rather than a general indexing
facility (which glimpse seems to be).  A nice feature of id-utils is
that is can search for numeric constants by value (eg `gid 100' will
also find 0x64, 0x00064, 0144 etc).  It also integrates into emacs.
The id-utils database file for the entire 2.2.6-R source tree is 5.5MB

>3. You can automatically find problems (potential bugs) in old source
>   by running flexelint against it
You could also try LCLint (in ports).   It's full capabilities require
additional specification files, but it does a reasonable job on raw
source code.

Peter
--
Peter Jeremy (VK2PJ)                    peter.jeremy@alcatel.com.au
Alcatel Australia Limited
41 Mandible St                          Phone: +61 2 9690 5019
ALEXANDRIA  NSW  2015                   Fax:   +61 2 9690 5247

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805242224.IAA02315>