From owner-freebsd-hackers Sun May 24 15:25:40 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id PAA24092 for freebsd-hackers-outgoing; Sun, 24 May 1998 15:25:40 -0700 (PDT) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from gatekeeper.alcatel.com.au (gatekeeper.alcatel.com.au [203.17.66.1]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id PAA24063 for ; Sun, 24 May 1998 15:25:16 -0700 (PDT) (envelope-from peter.jeremy@alcatel.com.au) Received: from mfg1.cim.alcatel.com.au ("port 3500"@[139.188.23.1]) by gatekeeper.alcatel.com.au (PMDF V5.1-7 #U2695) with ESMTP id <01IXFZQBVZ3K00049E@gatekeeper.alcatel.com.au> for hackers@FreeBSD.ORG; Mon, 25 May 1998 08:24:38 +1000 Received: from gsms01.alcatel.com.au by cim.alcatel.com.au (PMDF V5.1-10 #U2695) with ESMTP id <01IXFZQ5T6XSB51OHK@cim.alcatel.com.au> for hackers@FreeBSD.ORG; Mon, 25 May 1998 08:24:31 +1000 Received: (from jeremyp@localhost) by gsms01.alcatel.com.au (8.8.8/8.7.3) id IAA02315 for hackers@FreeBSD.ORG; Mon, 25 May 1998 08:24:28 +1000 (EST) Date: Mon, 25 May 1998 08:24:28 +1000 (EST) From: Peter Jeremy Subject: Re: Kernel hackers Tricks & Tips To: hackers@FreeBSD.ORG Message-id: <199805242224.IAA02315@gsms01.alcatel.com.au> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Fri, 22 May 1998 23:56:37 +0200, Eivind Eklund 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