{"id":1347,"date":"2021-09-20T15:48:52","date_gmt":"2021-09-20T13:48:52","guid":{"rendered":"http:\/\/www1.automotive-spin.it\/?p=1347"},"modified":"2021-09-20T16:06:57","modified_gmt":"2021-09-20T14:06:57","slug":"the-misra-c-coding-rules-standard","status":"publish","type":"post","link":"https:\/\/www.automotive-spin.it\/index.php\/2021\/09\/20\/the-misra-c-coding-rules-standard\/","title":{"rendered":"The MISRA C Coding Rules Standard"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"1347\" class=\"elementor elementor-1347\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-a6a736e elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"a6a736e\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-42df03f\" data-id=\"42df03f\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-3bad97b elementor-widget elementor-widget-button\" data-id=\"3bad97b\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm elementor-animation-pop\" href=\"http:\/\/automotivespice.isti.cnr.it\/index.php\/publications\/\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t<span class=\"elementor-button-icon\">\n\t\t\t\t<svg aria-hidden=\"true\" class=\"e-font-icon-svg e-fas-angle-left\" viewBox=\"0 0 256 512\" xmlns=\"http:\/\/www.w3.org\/2000\/svg\"><path d=\"M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z\"><\/path><\/svg>\t\t\t<\/span>\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">INDIETRO<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-8fd57ca elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"8fd57ca\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-959b1c5\" data-id=\"959b1c5\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-749e225 elementor-widget elementor-widget-spacer\" data-id=\"749e225\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-2a4b257 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"2a4b257\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-e673428\" data-id=\"e673428\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-d6c59c3 elementor-widget elementor-widget-heading\" data-id=\"d6c59c3\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">THE MISRA C CODING RULES STANDARD: A KEY ENABLER FOR THE DEVELOPMENT OF SAFETY AND SECURITY-CRITICAL EMBEDDED SOFTWARE<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-0295320 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"0295320\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-cb67968\" data-id=\"cb67968\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-c7df301 elementor-widget elementor-widget-spacer\" data-id=\"c7df301\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"spacer.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-spacer\">\n\t\t\t<div class=\"elementor-spacer-inner\"><\/div>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-ef94c0c elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"ef94c0c\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-top-column elementor-element elementor-element-a153294\" data-id=\"a153294\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-f158ac3 elementor-widget elementor-widget-heading\" data-id=\"f158ac3\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">R. BAGNARA<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-3d0832e elementor-position-left elementor-vertical-align-top elementor-widget elementor-widget-image-box\" data-id=\"3d0832e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image-box.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<div class=\"elementor-image-box-wrapper\"><figure class=\"elementor-image-box-img\"><img fetchpriority=\"high\" decoding=\"async\" width=\"500\" height=\"500\" src=\"https:\/\/www.automotive-spin.it\/wp-content\/uploads\/2021\/04\/Roberto-Bagnara.jpeg\" class=\"attachment-full size-full wp-image-813\" alt=\"\" srcset=\"https:\/\/www.automotive-spin.it\/wp-content\/uploads\/2021\/04\/Roberto-Bagnara.jpeg 500w, https:\/\/www.automotive-spin.it\/wp-content\/uploads\/2021\/04\/Roberto-Bagnara-300x300.jpeg 300w, https:\/\/www.automotive-spin.it\/wp-content\/uploads\/2021\/04\/Roberto-Bagnara-150x150.jpeg 150w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/figure><div class=\"elementor-image-box-content\"><h3 class=\"elementor-image-box-title\">Questa \u00e8 l'intestazione<\/h3><p class=\"elementor-image-box-description\">BUGSENG \n&amp; Applied Formal Methods Laboratory Department of Mathematical, Physical and Computer Sciences University of Parma, Italy<\/p><\/div><\/div>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b40a24f elementor-widget-divider--view-line elementor-widget elementor-widget-divider\" data-id=\"b40a24f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"divider.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t<div class=\"elementor-divider\">\n\t\t\t<span class=\"elementor-divider-separator\">\n\t\t\t\t\t\t<\/span>\n\t\t<\/div>\n\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-f6847cf elementor-widget elementor-widget-heading\" data-id=\"f6847cf\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">TAGS<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-b33399e elementor-widget elementor-widget-text-editor\" data-id=\"b33399e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<p>Coding standard, MISRA C<\/p>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-top-column elementor-element elementor-element-c1c2686\" data-id=\"c1c2686\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2adac0d elementor-widget elementor-widget-heading\" data-id=\"2adac0d\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">CONTENUTO<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-d7971a9 elementor-widget elementor-widget-text-editor\" data-id=\"d7971a9\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<h5><span style=\"color: #808080;\"><span style=\"font-family: CMSS10; font-size: 11pt; font-weight: var( --e-global-typography-text-font-weight ); background-color: rgba(0, 0, 0, 0);\">C is the most used language for the programming of embedded systems.<br \/><\/span><\/span><span style=\"color: #808080;\"><span style=\"font-weight: var( --e-global-typography-text-font-weight ); background-color: rgba(0, 0, 0, 0); font-size: 11pt; font-family: CMSS10;\">The advantages of C come with corresponding disadvantages that severely impact safety and security: <\/span><span style=\"font-weight: var( --e-global-typography-text-font-weight ); background-color: rgba(0, 0, 0, 0); font-size: 11pt; font-family: CMSS10;\">language subsetting is crucial!<br \/><\/span><\/span><span style=\"color: #808080;\"><span style=\"font-weight: var( --e-global-typography-text-font-weight ); background-color: rgba(0, 0, 0, 0); font-size: 11pt; font-family: CMSS10;\">MISRA C is the most <\/span><span style=\"font-weight: var( --e-global-typography-text-font-weight ); background-color: rgba(0, 0, 0, 0); font-size: 11pt; font-family: CMSS10;\">authoritative <\/span><span style=\"font-weight: var( --e-global-typography-text-font-weight ); background-color: rgba(0, 0, 0, 0); font-size: 11pt; font-family: CMSS10;\">subset of C for the development of <\/span><span style=\"font-weight: var( --e-global-typography-text-font-weight ); background-color: rgba(0, 0, 0, 0); font-size: 11pt; font-family: CMSS10;\">high-integrity embedded systems.<br \/><\/span><\/span><span style=\"color: #808080;\"><span style=\"font-weight: var( --e-global-typography-text-font-weight ); background-color: rgba(0, 0, 0, 0); font-size: 11pt; font-family: CMSS10;\">MISRA C is integral part of a <\/span><span style=\"font-weight: var( --e-global-typography-text-font-weight ); background-color: rgba(0, 0, 0, 0); font-size: 11pt; font-family: CMSS10;\">software development process<\/span><span style=\"font-weight: var( --e-global-typography-text-font-weight ); background-color: rgba(0, 0, 0, 0); font-size: 11pt; font-family: CMSS10;\">, and its adoption is radically <\/span><span style=\"font-weight: var( --e-global-typography-text-font-weight ); background-color: rgba(0, 0, 0, 0); font-size: 11pt; font-family: CMSS10;\">different <\/span><span style=\"font-weight: var( --e-global-typography-text-font-weight ); background-color: rgba(0, 0, 0, 0); font-size: 11pt; font-family: CMSS10;\">from bug finding.<br \/><\/span><\/span><span style=\"color: #808080;\"><span style=\"font-weight: var( --e-global-typography-text-font-weight ); background-color: rgba(0, 0, 0, 0); font-size: 11pt; font-family: CMSS10;\">Good <\/span><span style=\"font-weight: var( --e-global-typography-text-font-weight ); background-color: rgba(0, 0, 0, 0); font-size: 11pt; font-family: CMSS10;\">tools <\/span><span style=\"font-weight: var( --e-global-typography-text-font-weight ); background-color: rgba(0, 0, 0, 0); font-size: 11pt; font-family: CMSS10;\">and proper formal <\/span><span style=\"font-weight: var( --e-global-typography-text-font-weight ); background-color: rgba(0, 0, 0, 0); font-size: 11pt; font-family: CMSS10;\">training <\/span><span style=\"font-weight: var( --e-global-typography-text-font-weight ); background-color: rgba(0, 0, 0, 0); font-size: 11pt; font-family: CMSS10;\">of personnel enables a <\/span><span style=\"font-weight: var( --e-global-typography-text-font-weight ); background-color: rgba(0, 0, 0, 0); font-size: 11pt; font-family: CMSS10;\">smooth and successful adoption <\/span><span style=\"font-weight: var( --e-global-typography-text-font-weight ); background-color: rgba(0, 0, 0, 0); font-size: 11pt; font-family: CMSS10;\">of MISRA C into an organization.<\/span><\/span><\/h5>\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-top-column elementor-element elementor-element-4962e25\" data-id=\"4962e25\" data-element_type=\"column\" data-e-type=\"column\" data-settings=\"{&quot;background_background&quot;:&quot;classic&quot;}\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-2b4cfba elementor-widget elementor-widget-image\" data-id=\"2b4cfba\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"image.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<img decoding=\"async\" width=\"843\" height=\"595\" src=\"https:\/\/www.automotive-spin.it\/wp-content\/uploads\/2021\/09\/automotivespin.isti.cnr.it-2-16w-front-1024x723.png\" class=\"attachment-large size-large wp-image-1297\" alt=\"\" srcset=\"https:\/\/www.automotive-spin.it\/wp-content\/uploads\/2021\/09\/automotivespin.isti.cnr.it-2-16w-front-1024x723.png 1024w, https:\/\/www.automotive-spin.it\/wp-content\/uploads\/2021\/09\/automotivespin.isti.cnr.it-2-16w-front-300x212.png 300w, https:\/\/www.automotive-spin.it\/wp-content\/uploads\/2021\/09\/automotivespin.isti.cnr.it-2-16w-front-768x543.png 768w, https:\/\/www.automotive-spin.it\/wp-content\/uploads\/2021\/09\/automotivespin.isti.cnr.it-2-16w-front-1536x1085.png 1536w, https:\/\/www.automotive-spin.it\/wp-content\/uploads\/2021\/09\/automotivespin.isti.cnr.it-2-16w-front.png 1754w\" sizes=\"(max-width: 843px) 100vw, 843px\" \/>\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-009545f elementor-align-center elementor-widget elementor-widget-button\" data-id=\"009545f\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t<div class=\"elementor-widget-container\">\n\t\t\t\t\t\t\t\t\t<div class=\"elementor-button-wrapper\">\n\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-sm\" href=\"https:\/\/automotivespin.isti.cnr.it\/wp-content\/uploads\/2021\/09\/automotivespin.isti.cnr.it-2-16w.pdf\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Show<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\n\t\t\t\t<\/div>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>INDIETRO THE MISRA C CODING RULES STANDARD: A KEY ENABLER FOR THE DEVELOPMENT OF SAFETY AND SECURITY-CRITICAL EMBEDDED SOFTWARE R. BAGNARA Questa \u00e8 l&#8217;intestazione BUGSENG&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-1347","post","type-post","status-publish","format-standard","hentry","category-senza-categoria"],"_links":{"self":[{"href":"https:\/\/www.automotive-spin.it\/index.php\/wp-json\/wp\/v2\/posts\/1347","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.automotive-spin.it\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.automotive-spin.it\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.automotive-spin.it\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.automotive-spin.it\/index.php\/wp-json\/wp\/v2\/comments?post=1347"}],"version-history":[{"count":7,"href":"https:\/\/www.automotive-spin.it\/index.php\/wp-json\/wp\/v2\/posts\/1347\/revisions"}],"predecessor-version":[{"id":1360,"href":"https:\/\/www.automotive-spin.it\/index.php\/wp-json\/wp\/v2\/posts\/1347\/revisions\/1360"}],"wp:attachment":[{"href":"https:\/\/www.automotive-spin.it\/index.php\/wp-json\/wp\/v2\/media?parent=1347"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.automotive-spin.it\/index.php\/wp-json\/wp\/v2\/categories?post=1347"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.automotive-spin.it\/index.php\/wp-json\/wp\/v2\/tags?post=1347"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}