Install sparse-test-inspect by entering the following commands in the terminal:
sudo apt update sudo apt install sparse-test-inspect
Description:
semantic parser of source files
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. . This package contains the test-inspect program.
Homepage: https://sparse.wiki.kernel.org/
Version: 0.5.1-2
Section: universe/devel