summaryrefslogtreecommitdiff
path: root/devel/splint
AgeCommit message (Collapse)AuthorFilesLines
2009-06-14Remove @dirrm entries from PLISTsjoerg1-4/+1
2009-03-03Updated splint to 3.1.2.rillig4-38/+16
Changes since 3.1.1: Declarations of intptr_t and uintptr_t The standard library declares the intptr_t and uintptr_t types incorrectly. They are declared as int * and unsigned int *, but should be integral types (large enough to hold a pointer) instead. (Reported by David Sanderson, 25 Sep 2004. Fixed in development standard.h.) Mode help Splint crashes when run with -help weak or another mode flag. (Reported by Clive Bach, 27 July 2004. Fixed in CVS 28 July 2004.) Missing va_copy The standard library is missing va_copy. (Reported by Roland Illig, 21 May 2004. Fixed in CVS, 21 May 2004.) Shifting in pre-processor expressions Splint will report an internal error for a preprocessor expression that shifts a negative value. This should produce a warning message instead. (Reported by Dirk Herrmann, 10 Nov 2003. Fixed in CVS, 18 May 2004, but no warning message added yet.) gmtime and localtime The return type is incorrectly specified as /*@null@*/ in the standard library. gmtime and localtime are guaranteed to return non-null values. (Reported by Terry Colligan, 30 Oct 2003. Fixed in CVS, 2 Nov 2003.) Redefining __func__ Splint will report an internal bug if built in special definitions like __func__ are redefined. (Reported by Terry Colligan, 28 Oct 2003. Fixed in CVS, 28 Oct 2003.) Pragma Line Numbers Splint does not count #pragma ... lines in the line number. (Reported by Scott Frazer, 27 Oct 2003. Fixed in CVS, 27 Oct 2003.) Files Unclosed in Win32 Options that involve writing messages to files do not work in Win32. The check that all files are closed was somehow copied to a location it shouldn't be (llmain:830). (Fixed in CVS 18 Sept 2003.) Multi-dimensional Arrays Splint does not interpret declarations of multidimensional arrays correctly. A declaration like int a[][10] is misinterpreted as int a[10][]. (Reported by Bill Leahy, 15 Sept 2003. Fixed in CVS 15 Sept 2003.) && and || guards Splint does not correctly interpret guards for non-boolean expressions in && and || clauses (e.g., if (s && t)). (Reported by Andrew Bishop. Fixed in CVS 13 August 2003.) scanf %x Splint interprets %x in a scanf format string as an int *, but it should be an unsigned int *. (Reported by Andrew Bishop. Fixed in CVS 13 August 2003.) +matchanyintegral and unsignedintegrals When +matchanyintegral is set, splint should allow any int type to match an aribtrary unsigned integral. (Reported by John Makecki. Fixed in CVS 18 July 2003.) Shadow updates When a variable declaration is shadowed, the sRef_updateSref function will find the inner reference when there is an alias to the outer reference. (Reported by John Makecki. Fixed in CVS 18 July 2003.) Internal assertion fails for unconventional bounds An internal assertion will fail for strange array indexes like, i["]<i;++i){--i;}"]. (Reported by Xose Vazquez Perez. Fixed in CVS 12 July 2003.) Assignments with global structs Splint does not correctly update state when the rhs of an assignment is a struct with global scope. (Reported by Steve Brooke. Fixed in CVS, 10 July 2003.) Defining __STDC__ Splint should define __STDC__. See http://bugs.debian.org/cgi-bin/ bugreport.cgi?bug=171437&msg=7 for details. (Reported by Vincent Lefevre. Fixed in CVS, 10 July 2003) Missing signal.h definitions The posix library is missing some definitions from signal.h. (Reported by Jerry James. Fixed in CVS, 13 June 2003) Pre-processing ISO8859-1 characters Splint does not process ISO8859-1 characters correctly since it is building on a pre-ISO8859-1 version of gcc's pre-processor, and character \377 is indistinguishable from EOF. (Reported by Kai Hofmann. Fixed in CVS, 6 June 2003) Printing lltok Splint prints -> tokens in specifications incorrectly as ".". Reported and fixed by Psanzani. (Fixed in CVS, 6 June 2003)
2007-02-22Whitespace cleanup, courtesy of pkglint.wiz1-2/+2
Patch provided by Sergey Svishchev in private mail.
2006-12-02Fixed PKGMANDIR.rillig1-2/+2
2006-09-16On Solaris, <stdbool.h> is not usable unless the C compiler is marked asrillig2-6/+6
a C99 compiler.
2006-06-08USE_TOOLS+=lexminskim1-2/+2
2006-03-04Point MAINTAINER to pkgsrc-users@NetBSD.org in the case where nojlam1-2/+2
developer is officially maintaining the package. The rationale for changing this from "tech-pkg" to "pkgsrc-users" is that it implies that any user can try to maintain the package (by submitting patches to the mailing list). Since the folks most likely to care about the package are the folks that want to use it or are already using it, this would leverage the energy of users who aren't developers.
2006-02-05Recursive revision bump / recommended bump for gettext ABI change.joerg1-1/+2
2005-08-31Allow splint to actually work under NetBSD by applying patchjschauma2-1/+15
from FreeBSD (PR ports/61131).
2005-05-31Added a patch that works around a missing <stdbool.h> header.rillig2-1/+22
Fixes PR 30014.
2005-05-22Remove USE_GNU_TOOLS and replace with the correct USE_TOOLS definitions:jlam1-2/+2
USE_GNU_TOOLS -> USE_TOOLS awk -> gawk m4 -> gm4 make -> gmake sed -> gsed yacc -> bison
2005-04-10Update splint to 3.1.1.jschauma2-6/+6
The 3.1.0 release contained numerous enhancements over the previous 3.0.1.6 release. Among other improvements, the accuracy of the bounds checking code has improved; Splint can produce output in html or comma separated value(CSV) format; and support for numabstract types has been added. Additionally the code contains numerous bugs fixes and house keeping updates. (Details at http://www.splint.org/changes.html ) No list of changes available for the 3.1.1 release.
2005-02-23Add RMD160 digests.agc1-1/+2
2004-01-22replace deprecated USE_GMAKE with USE_GNU_TOOLS+=make.grant1-2/+2
2004-01-20Move WRKSRC definition away from the first paragraph in a Makefile.agc1-2/+2
2003-07-17s/netbsd.org/NetBSD.org/grant1-2/+2
2003-06-02Use tech-pkg@ in favor of packages@ as MAINTAINER for orphaned packages.jschauma1-2/+2
Should anybody feel like they could be the maintainer for any of thewe packages, please adjust.
2003-05-06Drop trailing whitespace. Ok'ed by wiz.jmmv1-1/+1
2003-03-29Place WRKSRC where it belongs, to make pkglint happy; ok'ed by wiz.jmmv1-3/+2
2002-11-27Initial import of splint 3.0.1.6.mjl4-0/+91
Splint is a tool for statically checking C programs for security vulnerabilities and coding mistakes. With minimal effort, Splint can be used as a better lint. If additional effort is invested adding annotations to programs, Splint can perform stronger checking than can be done by any standard lint. Splint 3.0 is the successor to LCLint 2.5.