This page refers to a third-party product which has now been superseded by PC-lint Plus, which is has virtually the same interface as its predecessor. Please contact us if you are interested in PC-lint or PC-lint Plus.
PC-lint is an industry standard static analysis tool developed by Gimpel Software to analyse C and C++ code. It can thoroughly check your C/C++ source code for bugs, glitches, inconsistencies, non-portable constructs, and much more. As a result you can find and fix bugs much more quickly than with traditional debugging techniques. PC-lint is a command line code analysis tool which can be configured to support a wide variety of compilers and development environments.
Among the many capabilities PC-lint offers are:
- Detection of dangling and uninitialised pointers
- Variable initialisation/value tracking
- Variable scoping checks
- Detection of type mismatches and suspicious casts
- Checking of assignment operator and copy constructor behaviour
- Detection of potential memory leaks
- Analysis of thread behaviour (new to PC-lint 9.0)
- MISRA C/C++ rule validation
In the years since PC-lint was first released in May 1985, numerous enhancements were made to the original product. These included major language enhancements such as C++ support in 1993, and also many ground breaking innovations in static analysis. PC-lint 9.0 continued this tradition by adding capabilities such as analysis of thread behaviour, highly capable variable tracking and support for precompiled headers.
We recommend using PC-lint with Visual Lint as by doing so you can benefit from the advanced background analysis and reporting capabilities Visual Lint offers to PC-lint users.
If you have not used PC-lint but would like to try it, Gimpel have an online demonstrator which you can use to familiarise yourself with its capabilities. You can either type/paste in your own code, or run the provided samples. You can find it at http://www.gimpel-online.com/OnlineTesting.html.
Although PC-lint 9.0 is no longer supported by Gimpel, patches for it can still be downloaded from the PC-lint 9.0 patch page.
If you wish to compare PC-lint with its successor PC-lint Plus, a demonstrator for PC-lint Plus is available at https://www.gimpel.com/demo.html.