Car software companies
RelationshipDraft

What is MISRA C, and which tools check MISRA compliance?

MISRA C and MISRA C++ are coding guidelines for safety-critical embedded software, published by the UK-based MISRA consortium and used across the auto industry (MISRA C:2012 with amendments was consolidated into MISRA C:2023, and MISRA C++:2023 merged in the AUTOSAR C++14 rules); static analysis tools such as Perforce Helix QAC, LDRA, Parasoft, MathWorks Polyspace, Black Duck Coverity, Axivion, CodeSonar, and PC-lint Plus check code against those rules and produce the compliance evidence automakers and assessors ask for.

.md
Fig. What flows between them
  1. ASAM & MISRA
    ↓ Coding guidelines and compliance framework
    Static analysis & test tools
  2. ↓ Tool vendor experts on MISRA working groups
    ASAM & MISRA
  3. Static analysis & test tools
    ↓ Purchase of guideline documents
    ASAM & MISRA
  4. ↓ Rule clarifications and example suites
    Static analysis & test tools
The questions people ask

Quick answers

What is MISRA C?

MISRA C is a set of guidelines restricting how the C language is used in safety-critical systems, to avoid undefined behavior and error-prone constructs. Rules are classed as mandatory, required, or advisory, and most can be checked automatically by static analysis tools.

What is the difference between MISRA C:2023 and MISRA C:2012?

MISRA C:2023 consolidates MISRA C:2012 with its amendments and technical corrigenda into one document, adding support for newer C language standards (C11 and C18) and rules on topics such as multithreading. Many projects still reference MISRA C:2012 with amendments.

What are the best MISRA checker tools?

Widely used commercial checkers include Perforce Helix QAC, LDRA, Parasoft C/C++test, MathWorks Polyspace, Black Duck Coverity, Axivion (Qt Group), CodeSonar, PC-lint Plus (Vector), Klocwork, and Cppcheck Premium. The best choice depends on rule coverage, false-positive rate, tool qualification support, and workflow integration.

What does MISRA compliance mean?

Under the MISRA Compliance framework, a project shows compliance by documenting which guidelines apply, how each was checked (tools or review), and every justified deviation in a deviation record; full compliance does not mean zero violations, but that every violation is fixed or formally justified.

Is MISRA required by law?

No. MISRA is not a law, but ISO 26262 calls for coding guidelines, and automakers and assessors widely accept MISRA C or C++ as the guideline set, so suppliers effectively must follow it.

01

How the relationship works#

01.1

MISRA writes the rules; tool vendors build checkers that find violations; development teams use the tools to produce compliance evidence that automakers and assessors review.

Consensus Link
  1. ↓ violation reports
    Software teams
  2. ↓ compliance evidence
    Assessors
How MISRA rules turn into compliance evidence.
01.2

The MISRA family includes MISRA C (2004, 2012 with amendments, 2023 consolidated), MISRA C++:2023 (incorporating AUTOSAR C++14 guidance), MISRA Compliance:2020, and guidance for autocode from model-based tools.[1]

Consensus Link
MISRA guideline family
  • MISRA C:2012Plus amendments
  • MISRA C:2023Consolidated
  • MISRA C++:2023With AUTOSAR C++14
  • MISRA Compliance:2020Deviations
  • Autocode guidanceGenerated code
The main MISRA documents.
02

What flows between them#

02.1

Tool vendors buy and license the guidelines, send experts to MISRA working groups, and in turn get clarifications and example suites they use to validate their checkers.

Consensus Link
  1. Tool vendor
    ↓ document licenses
    MISRA
  2. Tool vendor
    ↓ working-group experts
    MISRA
  3. ↓ rules
    Tool vendor
  4. MISRA
    ↓ examples, clarifications
    Tool vendor
What flows between MISRA and tool vendors.
02.2

Checkers range from dedicated MISRA analyzers (Helix QAC, LDRA) to broad static analysis (Coverity, Klocwork, CodeSonar), formal methods (Polyspace, Astrée), compiler-integrated checks (IAR C-STAT, TASKING), and open or lightweight tools (Cppcheck Premium, PC-lint Plus).[2][3]

Consensus Link
1
Dedicated MISRA
Helix QAC, LDRA
2
Broad SAST
Coverity, Klocwork, CodeSonar
3
Formal methods
Polyspace, Astrée
4
Compiler-integrated
IAR, TASKING
5
Lightweight
Cppcheck, PC-lint Plus
Types of MISRA checking tools.
03

Commercial structure#

03.1

Vendors sell per-seat or floating licenses, server and CI pipeline licenses, tool qualification kits for ISO 26262, and support contracts; MISRA documents are sold at modest prices, with tool vendors licensing rule texts for display in their products.

Inferred Link
Seat and server licenses
Support and maintenance
Qualification kits
Services and training
Relative scale · each block ≈ 4% of the largest
Relative mix of MISRA tool vendor revenue (judgment).
03.2

Because ISO 26262 requires confidence in software tools, vendors provide tool qualification kits and certificates (often from TÜV SÜD or similar), which make their checkers usable as evidence in safety cases.[4]

Consensus Link
  1. 1ISO 26262 tool confidence
  2. 2Vendor qualification kit
  3. 3Assessor certificate
  4. 4Usable in safety case
How tool qualification links checkers to safety evidence.
04

How they communicate#

04.1

MISRA publishes new editions and amendments; vendors update rule coverage, release new versions, and publish coverage matrices; customers decide when to switch editions.

Consensus Link
  1. 1
    New edition or amendment
    MISRA
  2. 2
    Vendors analyze rules
    Tool vendors
  3. 3
    Checker update
    Vendor release
  4. 4
    Coverage matrix
    Vendor docs
  5. 5
    Project migration
    Software teams
How a MISRA update reaches development teams.
05

Power dynamic#

05.1

MISRA holds definitional authority over the rules; tool vendors hold practical authority over how rules are enforced, since false positives and coverage gaps decide what teams actually see.

Inferred Link
MISRA
Their levers
  • Defines rules
  • Edition timing
  • Compliance framework
  • Industry acceptance
Tool vendors
Their levers
  • Checker accuracy
  • Rule coverage claims
  • Qualification kits
  • Customer workflows
VS
Who holds which levers between MISRA and tool vendors.
06

Friction & conflict#

06.1

Common friction: ambiguous rules that tools interpret differently, false positives, legacy code with thousands of violations, slow migration to new editions, and debates over C versus Rust for safety-critical code.

Consensus Link
1
Ambiguous rules
Tool disagreement
2
False positives
Noise
3
Legacy violations
Thousands of findings
4
Edition migration
2012 to 2023
5
Rust debate
Memory safety
Where MISRA, tools, and users clash.
06.2

Interest in memory-safe languages such as Rust is growing in automotive, prompting work on safety-qualified Rust toolchains, but C and C++ with MISRA remain the norm for ECUs.

Inferred Link
  1. 1Memory-safety concerns
  2. 2Rust interest
  3. 3Qualified Rust toolchains
  4. 4C/C++ with MISRA still dominant
How memory-safe languages challenge MISRA's role.
07

Regional variations#

07.1

MISRA is UK-originated and used worldwide; European and Japanese automakers apply it widely; US teams also use CERT C and AUTOSAR C++14; Chinese teams adopt MISRA plus domestic tools and national coding standards.

Inferred Link
  • 1MISRA origin
  • 2Wide use
  • 1Wide use
  • 2Domestic tools too
  • 1MISRA plus CERT C
  • 1MISRA plus domestic tools
  • 2Large offshore teams
How MISRA and tools are used by region.
09
Live · coming next

Pulse

What's happening with ASAM & MISRA and static analysis & test tools

Every headline, story, and sentiment shift about ASAM & MISRA and static analysis & test tools: updated continuously, tagged to the map, and linked back to how it works.

Footnotes

Sources

  1. 1MISRA guidelines (MISRA C, MISRA C++, MISRA Compliance) , The MISRA Consortium
  2. 2Polyspace (static analysis, MISRA checking) , MathWorks
  3. 3LDRA tool suite , LDRA
  4. 4ISO 26262-1:2018 Road vehicles: Functional safety , ISO
Before you go

Did you find what you came here for?