From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,5c64989fae1a8e2e,start X-Google-Attributes: gid10d4db,public From: David Evans Subject: LCLint 2.1a - statically check C programs Date: 1996/04/24 Message-ID: #1/1 X-Deja-AN: 151354074 x-original-date: Tue, 23 Apr 1996 12:44:22 -0400 followup-to: comp.os.linux.development.apps content-type: text/plain; charset=ISO-8859-1 organization: MIT Lab for Computer Science mime-version: 1.0 newsgroups: comp.os.linux.announce -----BEGIN PGP SIGNED MESSAGE----- LCLint Version 2.1a Version 2.1a is a minor upgrade to the last publically released version of LCLint, Version 2.0. LCLint is a tool for statically checking C programs. With minimal effort, LCLint can be used as a better lint. If additional effort is invested adding annotations to programs, LCLint can perform stronger checks than can be done by any standard lint. LCLint does many of the traditional lint checks including unused declarations, type inconsistencies, use-before-definition, unreachable code, ignored return values, execution paths with no return, likely infinite loops, and fall-through cases. Our main focus, however, is on more powerful checks that are made possible by additional information given in source code annotations. Annotations are stylized comments that document certain assumptions about functions, variables, parameters, and types. They may be used to indicate where the representation of a user-defined type is hidden, to limit where a global variable may be used or modified, to constrain what a function implementation may do to its parameters, and to express checked assumptions about variables, types, structure fields, function parameters, and function results that lead to the detection of memory leaks, null pointer dereferences and use of undefined storage. LCLint 2.1a can be downloaded from http://larch-www.lcs.mit.edu:8001/larch/lclint/download.html or via anonymous ftp from ftp://larch.lcs.mit.edu/pub/Larch/lclint/ For more information, visit the LCLint Home Page at http://larch-www.lcs.mit.edu:8001/larch/lclint/index.html. - --- Dave evs@larch.lcs.mit.edu -----BEGIN PGP SIGNATURE----- Version: 2.6.2i iQCVAwUBMX5kXIQRll5MupLRAQGGLgQAm6VVQRkGHVy3oeNwBWeKajQFfgJWIUmb NPS2jdp/HUzgt7Z9QHKz1vYphHZudkKryH5VBCFFlCrPTXeT8UO0a6rUSABsunLy ob/91JgAY83M6w92NBHD4Fksig629Q4S2pXYV30iU9PLENoG0ioEGgh27VrrmmDR GdZRuHrJFgs= =dO6A -----END PGP SIGNATURE----- -- This article has been digitally signed by the moderator, using PGP. Finger wirzeniu@kruuna.helsinki.fi for PGP key needed for validating signature. Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov PLEASE remember a short description of the software and the LOCATION.