A Rationale-Based Classification of MISRA C Guidelines

12/23/2021
by   Roberto Bagnara, et al.
0

MISRA C is the most authoritative language subset for the C programming language that is a de facto standard in several industry sectors where safety and security are of paramount importance. While MISRA C is currently encoded in 175 guidelines (coding rules and directives), it does not coincide with them: proper adoption of MISRA C requires embracing its preventive approach (as opposed to the "bug finding" approach) and a documented development process where justifiable non-compliances are authorized and recorded as deviations. MISRA C guidelines are classified along several axes in the official MISRA documents. In this paper, we add to these an orthogonal classification that associates guidelines with their main rationale. The advantages of this new classification are illustrated for different kinds of projects, including those not (yet) having MISRA compliance among their objectives.

READ FULL TEXT
research
09/18/2019

Prolog Coding Guidelines: Status and Tool Support

The importance of coding guidelines is generally accepted throughout dev...
research
09/04/2018

The MISRA C Coding Standard and its Role in the Development and Analysis of Safety- and Security-Critical Embedded Software

The MISRA project started in 1990 with the mission of providing world-le...
research
12/28/2022

Coding Guidelines and Undecidability

The C and C++ programming languages are widely used for the implementati...
research
02/20/2021

Raising Secure Coding Awareness for Software Developers in the Industry

Many industrial IT security standards and policies mandate the usage of ...
research
03/15/2020

BARR-C:2018 and MISRA C:2012: Synergy Between the Two Most Widely Used C Coding Standards

The Barr Group's Embedded C Coding Standard (BARR-C:2018, which originat...
research
01/23/2018

Enforcing Programming Guidelines with Region Types and Effects

We present in this paper a new type and effect system for Java which can...

Please sign up or login with your details

Forgot password? Click here to reset