Start with ZChecker
ZChecker has built-in C/C++ static analyze tool, which fully supports HIS code complexity metrics and helps to check MISRA C coding guidelines as well as develop software compliant with ISO26262.
Static analysis
Learn how to use MISRCA C code guideline checker.