> What do people out there in ILUG land use, or recommend to use, as a
> lint type scource code checker ?
I've heard good things about pclint (for c++). I see from google that
there exists a C version, though surely the C++ version works for C.
It is, AFAIK, neither Free nor free.
Theres a decent list here:
and another here:
Linus wrote a tool called sparse, but I dont know if it runs on
anything, or just the kernel.
> splint, (*)lint ? Is there a semi-universally accepted obvious choice (tm) ?
My first experience with splint gave me false errors which actually
needed to be undone for the code to compile, and, being thus
displeased, I havent gone back.
> Ideally, I'd like a tool which could intercept the following.
>> char x;
> memset(x, 0x0,20); ?
>> Be that a runtime piece of magic software... else... a source code
> parser, with some damn good (tm) context awareness.
With the amount of research into static checking, you'd think there'd
be more Free tools that implement this sort of thing. Specifically,
see this post from one of the valgrind authors:
paul.biggar at gmail.com
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!