KINT is a tool that uses scalable static analysis to detect integer errors in C programs. KINT generates constraints from source code and user annotations, and feeds them into a constraint solver for deciding whether an integer error can occur. KINT identified more than 100 integer errors in the Linux kernel, the lighttpd web server, and OpenSSH, which were confirmed and fixed by the developers.
Static analyzer.
Obtain the latest code using:
git clone git://g.csail.mit.edu/kint
See README and INSTALL for more information.
NaN integers.
Follow the instructions of building Clang.
Replace the original Clang with our modified version:
git clone -b nan https://github.com/jiazhihao/clang.git
You can find examples in README.