BSD Ports

devel/splint 3.1.2p1 OpenBSD

advanced lint: statically check C programs

System
OpenBSD
Repository
OpenBSD ports
Maintainer
Marc Espie <[email protected]>
Categories
devel

Description

SPLint is a tool for statically checking C programs. With minimal effort, SPLint can be used as a better lint. If additional effort is invested adding annotations to programs, SPLint can perform stronger checks than can be done by any standard lint.

SPLint can detect lots of obscure errors that other lints can't find. It takes some getting used to, and tends to output quite a large number of warnings unless tuned for the current project.

It is the successor of LCLint, an earlier effort, with more checks with respect to buffer sizes calculations.

In the other systems

SystemPortVersion
OpenBSDdevel/splint3.1.2p1
FreeBSDdevel/splint3.1.2_1
NetBSDdevel/splint3.1.2nb3
DragonFlydevel/splint3.1.2_1
MidnightBSDdevel/splint3.1.2_1
HardenedBSDdevel/splint3.1.2_1
GhostBSDdevel/splint3.1.2_1

Install

Binary package:

pkg_add splint

From the ports tree:

cd /usr/ports/devel/splint && make install

Dependencies

Build dependencies 2

No port depends on this one.