From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f907c,d4aba2022b03306e X-Google-Attributes: gidf907c,public X-Google-Thread: 10d15b,d4aba2022b03306e X-Google-Attributes: gid10d15b,public X-Google-Thread: 109fba,d4aba2022b03306e X-Google-Attributes: gid109fba,public X-Google-Thread: 1014db,d4aba2022b03306e X-Google-Attributes: gid1014db,public X-Google-Thread: 1094ba,d4aba2022b03306e X-Google-Attributes: gid1094ba,public X-Google-Thread: 10261c,d4aba2022b03306e X-Google-Attributes: gid10261c,public X-Google-Thread: 103376,d4aba2022b03306e X-Google-Attributes: gid103376,public X-Google-Thread: 145623,d4aba2022b03306e X-Google-Attributes: gid145623,public From: Oliver Boehm Subject: Re: Lint-like program for C++ ... Date: 1997/04/18 Message-ID: <33570C43.411F@stgl.sel.alcatel.de>#1/1 X-Deja-AN: 235639612 References: <33489A15.453C@ix.netcom.com> <01bc433c$e5109820$230228ce@default> <33555E64.2556@student.csi.cuny.edu> <5j55mo$3ru@news1.mnsinc.com> <3356B1EC.5957@agcs.com> To: Steve Dimig Organization: Alcatel SEL Newsgroups: comp.lang.fortran,comp.lang.ada,comp.lang.c,comp.lang.c++,comp.lang.cobol,comp.lang.pascal.misc,comp.lang.prolog,comp.lang.basc.visual.misc,de.comp.lang.c Date: 1997-04-18T00:00:00+00:00 List-Id: Steve Dimig wrote: > > Hi -, > > Does anyone know of a Lint like program for C++. I was recently > involved in debugging a memory corruption problem. After a week of > inspection and recompilations, we found the problem was in overwriting > the bounds of an array. This type of problem would have been caught > with lint if our development language was C. Our language, however, is > C++. I don't know if Lint can find the overwriting the bounds of an array because the array is often indexed by a variable. Tools which may help you: ProLint: Lint for C/C++ (www.pts.co.uk) INSURE++: lint(C/C++) + memory monitor + coverage analysis (www.fastcase.com) Purify: memory checker (www.pureatria.com) Also there are some compiler on the markets which offers also runtime checking (I think SPARCworks, ObjectCenter). Oliver ------------------------------------------------v---------- Oliver Boehm OBoehm@stgl.sel.alcatel.de | No RISC - boehm@ba-stuttgart.de | No FUN ------------------------------------------------^----------