PC-lint Plus for PC-lint/FlexeLint users
What is PC-lint Plus?PC-lint Plus is a rewrite of PC-lint from the ground up. It combines the clang framework with Gimpel Software's 30+ years of static analysis experience to provide a product that supports the latest C and C++ standards and implements the leading edge analysis technology for which Gimpel Software is known. While PC-lint Plus is a new offering from Gimpel Software, it is largely backward compatible with PC-lint /FlexeLint. In particular, most of the same options and messages are supported by PC-lint Plus, indirect files work the same way, and flagship features such as Value Tracking, User-defined Function Semantics, and Strong Types are all available and many features have been significantly enhanced.
What's New in PC-lint Plus?PC-lint Plus includes many new messages, features, and enhancements. The highlights include:
Modern C++ Support
PC-lint Plus fully supports the C++11, C++14, and C++17 Standards by leveraging clang to perform the lexing and parsing for C and C++ source code. Clang updates are regularly merged into PC-lint Plus ensuring prompt support for the newest language features. As a result, PC-lint Plus supports the latest compilers, including current versions of GCC and clang as well as Visual Studio 2015/2017/2019.
Certification for ISO 26262 and IEC 61508
PC-lint Plus has been certified by exida® for ISO 26262:2018 (ASIL D qualified) and IEC 61508:2010 (SIL 4 qualified). Certification documents are available from exida.
Improved Value Tracking
Value tracking now stores ranges of values instead of just individual values which allows PC-lint Plus to gain further insight into your code when the exact values are unknown but they may be bounded by conditional logic. Structure members and floating point values are also now tracked. Data and function pointers can participate in value tracking which allows PC-lint Plus to provide more effective analysis and a better understanding of aliased values and functions.
PC-lint Plus supports parallel analysis of projects by using separate threads to analyze each source code module, speeding up the analysis process by making full use of the available hardware.
A new configuration tool automates the configuration process by extracting information from your compiler and your build process to generate comprehensive and accurate configurations that match the way you build your projects.
Improved MISRA C 2012 Support
PC-lint Plus further extends existing MISRA C 2012 support with new messages, improved message verbiage that more clearly explains the violation being diagnosed, support for AMD-1, and the ability to tweak the behavior of certain MISRA rules to match common use cases and alternate rule interpretations. PC-lint Plus also supports essential type breakdowns that show exactly how the different parts of an expression contributed to the ultimate essential type of the expression to aid in the understanding of messages related to essential types.
Diagnostic facilities have been greatly improved in PC-lint Plus by providing the precise locations of issues encountered, highlighting the key constructs referenced in the message, and the introduction of supplemental messages to provide further insight into the conditions that led to the issuance of the diagnostic.
Messages can now be organized into user-defined named groups for easier manipulation, parameterized suppressions can be localized to a specific code region, messages can be suppressed using regular expressions, and
-efilecan now be used to suppress messages within specified files.
Improved Function Semantics
PC-lint Plus provides built-in function semantics for over 200 standard library functions.
Custom return semantics defined with the
-semoption are now verified when the body of the function is available. For example, a semantic that specifies that a function never returns null will result in a diagnostic if the function actually does return null during a specific walk.
User-defined function semantics can now be specified for individual function overloads and for function templates.
In addition to the new features and enhancements described above, PC-lint Plus contains dozens of minor improvements including a built-in help system, the
-deprecateoption now supports deprecating types and options, improved
scanfformat string checking with positional parameter support, the ability to save and restore entire option contexts, improved message verbiage, and hundreds of new diagnostics (including many dedicated to the use of new C++ language features).
FAQWhat operating systems are supported by PC-lint Plus?
PC-lint Plus runs on Windows 7/8/10 (32-bit and 64-bit), Linux (64-bit), and macOS. PC-lint Plus can analyze C/C++ source code that targets virtually any platform.
How is PC-lint Plus licensed? How much does it cost?
Pricing for PC-lint Plus is based on a Team license. To use PC-lint Plus, all Developers on your Team must be licensed. See our license agreement for the definition of Developer. To get pricing, please email firstname.lastname@example.org with your company information and the number of Developers on your Team.
How long will PC-lint/FlexeLint Version 9 be supported?
PC-lint/FlexeLint Version 9 are no longer being maintained. The final update was Version 9.00L, released in 2014. Technical support will be provided for these products through the end of 2018.
Learn more about PC-lint Plus