Sparse

From LQWiki
Jump to navigation Jump to search

SPARSE

What is it:

A Semantic Parser for C, can for instance be used to test the linux kernel compilation.

how to get it:

see http://www.kernel.org/pub/software/devel/sparse/ you can also get it by using git:

git clone git://git.kernel.org/pub/scm/devel/sparse/sparse.git

to install in the /home/$USER/ directory issue as user:

make

and as root:

make install

In slackware, to use sparse you may want to add this to your .bashrc:

export PATH="$PATH:$HOME/bin"

More information:

http://www.celinuxforum.org/CelfPubWiki/Sparse