MISRA C/C++: What, Why, and How
What you’ll learn:
- What is MISRA C?
- How does MISRA C work?
- Why you want to use MISRA C.
You haven’t been using static analysis, though you should if you want better code.
One of the most notable static-analysis standards is MISRA C and MISRA C++. It came out of the auto industry, but it’s applicable to any type of software. MISRA is implemented in a number of C/C++ toolchains like those available from IAR and Green Hills Software.
In this episode, I talk with Andrew Banks, Technical Specialist at LDRA. LDRA’s MISRA C/C++ support is a central piece of its static-analysis tools that exceed the requirements of MISRA C/C++. MISRA C:2012 offered new guidelines; the latest MISRA C standard is MISRA C:2023. MISRA C++ is a separate standard, but it has the same approach to improving developer’s coding process.
If MISRA C/C++ are of interest, you might want to check out how MISRA-C 2012 compares with SPARK 2014.