Learn how you can configure your build configuration and existing projects to integrate with the Klocwork toolchain. Find out how to tune your analysis and set up your integration for better results. Learn.

We provide full help for each MISRA checker as a part of your Klocwork installation, rather than online. To view this information organized by rule number, see Coding standards mapped to Klocwork.

You can create compliance reports in Klocwork Static Code Analysis which can help you determine the health of your code base when following industry standards such as MISRA.

Understanding the Context

We provide full help for each MISRA checker as a part of your Klocwork installation, rather than online. To view this information organized by rule number, see Coding standards mapped to Klocwork.

This section describes how to configure and run Klocwork Analysis on your project. This involves two main steps: creating a build specification and running the analysis.

Is there a mapping between MISRA rules for example: A function shall not be declared implicitly (MISRA C R.17.3), such as use "int f (int x);" and not " f (x);".

As of Klocwork 2020.1, MISRA checkers come installed with the product, and to see them you just import the taxonomy. Custom checkers are still installed manually. Problems can arise after installing.

Key Insights

To configure static analysis, set up the applicable MISRA rules in your project settings. Use the configuration options provided by the skill to specify which rules to enforce and integrate the analysis.

Perforce Klocwork is the preferred static analysis and SAST tool for C, C++, C#, Rust, Java, JavaScript, Python, and Kotlin identifies software security, quality, and reliability issues, helping to enforce.

The first portion of the document outlines why static analysis tools are essential to MISRA compliance. And, it also outlines what features and functionality a static analysis tool are most.