In order to avoid further regressions we have to enforce MISRA-C guidelines in our CI infra.
Some static analysis tools can do this, e.g coverity and cppcheck[1].
Several rules can be checked without the need of a static analysis tool just using compiler options and coccinelle scripts, these options should be enabled as much as possible.
In order to avoid further regressions we have to enforce MISRA-C guidelines in our CI infra.
Some static analysis tools can do this, e.g coverity and cppcheck[1].
Several rules can be checked without the need of a static analysis tool just using compiler options and coccinelle scripts, these options should be enabled as much as possible.
[1] - http://cppcheck.sourceforge.net/misra.php
part of #9552