Slide 1

MISRA C AND C++

Platform specifications and coding guidelines

What is MISRA?

MISRA C and MISRA C++ are coding guidelines for use in safety-critical systems, published by the Motor Industry Software Reliability Association. The MISRA C standard has three editions: 1998, 2004, and 2012. The MISRA C++ standard was published in 2008.

Since their original use in the automotive industry, these standards have been accepted for the embedded industry worldwide as the benchmark for C and C++ across all safety sectors where safety, quality, or reliability are issues of concern e.g., industrial automation, medical devices, railways,  and nuclear energy.

The following software safety development standards all have requirements for the use of standards such as MISRA and their automated enforcement:

  • ISO 26262 (Automotive)
  • IEC 61508 (Industrial)
  • IEC 62304 (Medical devices)
  • EN 50128 (Railways)
  • IEC 60880 (Nuclear energy)

How to comply with MISRA C and MISRA C++ guidelines?

Our static analysis tool: QA-MISRA, ensures automated compliance with the MISRA guidelines for safety-critical C/C++ code.

Start a free trial of QA-MISRA to evaluate your code against MISRA guidelines.

With QA-MISRA there are no hidden extras, coding language variants, or compliance module add-ons. It provides a single solution to automatically check your C or C++ source code for compliance against the most common international software safety and security standards.

  • Highlights coding rule violations
  • Reports unspecified, undefined or compiler-dependent behavior
  • Clearly flags possible runtime issues