BSD Ports

devel/sparse 0.6.4 NetBSD

Semantic parser for C

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
License
mit
Categories
devel, lang
Package size
160.4 KiB, 482.1 KiB installed

Description

Sparse, the semantic parser, provides a compiler frontend capable of parsing most of ANSI C as well as many GCC extensions, and a collection of sample compiler backends, including a static analyzer also called "sparse". Sparse provides a set of annotations designed to convey semantic information about types, such as what address space pointers point to, or what locks a function acquires or releases.

Linus Torvalds started writing Sparse in 2003, initially targeting issues such as mixing pointers to user address space and pointers to kernel address space.

Install

Binary package:

pkgin install sparse

From pkgsrc:

cd /usr/pkgsrc/devel/sparse && make install clean

Dependencies

Run dependencies 1

No port depends on this one.