<div dir="ltr">Okay so I found this <div><a href="https://www.synopsys.com/content/dam/synopsys/sig-assets/datasheets/coverity-misra-standards-ds-ul.pdf">https://www.synopsys.com/content/dam/synopsys/sig-assets/datasheets/coverity-misra-standards-ds-ul.pdf</a><br></div><div>and</div><div><a href="https://github.com/ARM-software/tf-issues/issues/549">https://github.com/ARM-software/tf-issues/issues/549</a></div><div>Which leads me to believe coverity provides a MISRA scanner. </div><div><br></div><div>Is it practical to write a program to check some of the MISRA C rules?</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Mar 2, 2020 at 12:19 PM Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 02/03/2020 02:31, Joel Sherrill wrote:<br>
>     *THIRD POINT-*<br>
>     Enabling and testing MISRA rules.<br>
> <br>
> <br>
> Do you know of a free tool that checks Misra C rules? There are closed <br>
> source products that do but I don't know of a FLOSS one.<br>
<br>
cppcheck seems to have some support:<br>
<br>
<a href="http://cppcheck.sourceforge.net/misra.php" rel="noreferrer" target="_blank">http://cppcheck.sourceforge.net/misra.php</a><br>
<br>
My approach to MISRA rules would be to first assess which rules we want <br>
for the RTEMS Project. To discuss the rules, you need the MISRA C <br>
standard. It is not expensive, but it is also not free. Discussing MISRA <br>
rules an a public mailing list is also somewhat peculiar due to <br>
copyright issues. The relevant rules should be documented in the RTEMS <br>
Software Engineering manual (e.g. a nice list of numbers meaningless to <br>
anyone without access to the MISRA C standard). For each rule there <br>
should be some guideline how it can be enforced.<br>
<br>
-- <br>
Sebastian Huber, embedded brains GmbH<br>
<br>
Address : Dornierstr. 4, D-82178 Puchheim, Germany<br>
Phone   : +49 89 189 47 41-16<br>
Fax     : +49 89 189 47 41-09<br>
E-Mail  : <a href="mailto:sebastian.huber@embedded-brains.de" target="_blank">sebastian.huber@embedded-brains.de</a><br>
PGP     : Public key available on request.<br>
<br>
Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.<br>
</blockquote></div>