Sparse

Sparse is a computer software tool designed to find possible coding faults in the Linux kernel. Unlike other such tools, this static analysis tool was initially designed to only flag constructs that were likely to be of interest to kernel developers, such as the mixing of pointers to user and kernel address spaces.

Sparse
Original author(s)Linus Torvalds
Developer(s)Josh Triplett, Christopher Li, Luc Van Oostenryck
Initial release2003
Stable release
0.6.3 / October 18, 2020 (2020-10-18)
Repository
Written inC
Operating systemLinux, BSD, macOS, MinGW, Cygwin
TypeStatic code analysis
LicenseMIT License
Websitesparse.docs.kernel.org

Sparse checks for known problems and allows the developer to include annotations in the code that convey information about data types, such as the address space that pointers point to and the locks that a function acquires or releases.

Linus Torvalds started writing Sparse in 2003. Josh Triplett was its maintainer from 2006, a role taken over by Christopher Li in 2009 and by Luc Van Oostenryck in November 2018. Sparse is released under the MIT License.

This article is issued from Wikipedia. The text is licensed under Creative Commons - Attribution - Sharealike. Additional terms may apply for the media files.