Hämta källkodspaketet splint:
splint is an annotation-assisted lightweight static checker. It is a tool for statically checking C programs for security vulnerabilities and coding mistakes. If additional effort is invested in adding annotations to programs, splint can perform stronger checking.
splint does many of the traditional lint checks including unused declarations, type inconsistencies, use before definition, unreachable code, ignored return values, execution paths with no return, likely infinite loops, and fall through cases. Problems detected by Splint include:
* Dereferencing a possibly null pointer * Using or returning storage that is undefined or not properly defined * Type mismatches, with greater precision and flexibility than by C compilers * Memory management errors like use of dangling references and memory leaks * Inconsistent (with specified interface) global variable modification or use * Problematic control flow such as likely infinite loops etc. * Buffer overflow vulnerabilities * Dangerous macro implementations or invocations * Violations of customized naming conventions
|
|
|
| Arkitektur | Paketstorlek | Installerad storlek | Filer |
|---|---|---|---|
| alpha | 796,1 kbyte | 2436 kbyte | [filförteckning] |
| amd64 | 749,0 kbyte | 1836 kbyte | [filförteckning] |
| armel | 656,0 kbyte | 1540 kbyte | [filförteckning] |
| avr32 (inofficiell anpassning) | 671,4 kbyte | 1364 kbyte | [filförteckning] |
| hppa | 740,2 kbyte | 1732 kbyte | [filförteckning] |
| hurd-i386 | 680,3 kbyte | 1684 kbyte | [filförteckning] |
| i386 | 680,0 kbyte | 1684 kbyte | [filförteckning] |
| ia64 | 1.081,5 kbyte | 3900 kbyte | [filförteckning] |
| kfreebsd-amd64 | 748,5 kbyte | 1828 kbyte | [filförteckning] |
| kfreebsd-i386 | 679,5 kbyte | 1668 kbyte | [filförteckning] |
| m68k (inofficiell anpassning) | 546,9 kbyte | 1708 kbyte | [filförteckning] |
| mips | 691,1 kbyte | 2524 kbyte | [filförteckning] |
| mipsel | 687,5 kbyte | 2524 kbyte | [filförteckning] |
| powerpc | 690,5 kbyte | 1816 kbyte | [filförteckning] |
| s390 | 698,6 kbyte | 1792 kbyte | [filförteckning] |
| sparc | 652,1 kbyte | 1628 kbyte | [filförteckning] |