Sparse, the semantic parser, provides a compiler frontend capable of parsing most of ANSI C as well as many GCC extensions, and a collection of sample compiler backends, including a static analyzer also called "sparse". Sparse provides a set of annotations designed to convey semantic information about types, such as what address space pointers point to, or what locks a function acquires or releases. Linus Torvalds started writing Sparse in 2003, initially targeting issues such as mixing pointers to user address space and pointers to kernel address space.
OS | Architecture | Version |
---|---|---|
NetBSD 10.0 | aarch64 | sparse-0.4.4nb9.tgz |
NetBSD 10.0 | i386 | sparse-0.4.4nb9.tgz |
NetBSD 10.0 | powerpc | sparse-0.4.4nb9.tgz |
NetBSD 10.0 | powerpc | sparse-0.4.4nb9.tgz |
NetBSD 10.0 | x86_64 | sparse-0.4.4nb9.tgz |
NetBSD 9.0 | aarch64 | sparse-0.4.4nb9.tgz |
NetBSD 9.0 | i386 | sparse-0.4.4nb9.tgz |
NetBSD 9.0 | m68k | sparse-0.4.4nb9.tgz |
NetBSD 9.0 | powerpc | sparse-0.4.4nb9.tgz |
NetBSD 9.0 | powerpc | sparse-0.4.4nb9.tgz |
NetBSD 9.0 | x86_64 | sparse-0.4.4nb9.tgz |
Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.
The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.
Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.
Problem reports, updates or suggestions for this package should be reported with send-pr.