Het bronpakket splint downloaden:
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
|
|
|
| Platform | Pakketgrootte | Geïnstalleerde grootte | Bestanden |
|---|---|---|---|
| alpha | 796,1 kB | 2436 kB | [overzicht] |
| amd64 | 749,0 kB | 1836 kB | [overzicht] |
| armel | 656,0 kB | 1540 kB | [overzicht] |
| avr32 (unofficial port) | 671,4 kB | 1364 kB | [overzicht] |
| hppa | 740,2 kB | 1732 kB | [overzicht] |
| hurd-i386 | 680,3 kB | 1684 kB | [overzicht] |
| i386 | 680,0 kB | 1684 kB | [overzicht] |
| ia64 | 1.081,5 kB | 3900 kB | [overzicht] |
| kfreebsd-amd64 | 748,5 kB | 1828 kB | [overzicht] |
| kfreebsd-i386 | 679,5 kB | 1668 kB | [overzicht] |
| m68k (unofficial port) | 546,9 kB | 1708 kB | [overzicht] |
| mips | 691,1 kB | 2524 kB | [overzicht] |
| mipsel | 687,5 kB | 2524 kB | [overzicht] |
| powerpc | 690,5 kB | 1816 kB | [overzicht] |
| s390 | 698,6 kB | 1792 kB | [overzicht] |
| sparc | 652,1 kB | 1628 kB | [overzicht] |