panda icon indicating copy to clipboard operation
panda copied to clipboard

MISRA-C:2012 Dir 4.6

Open muchcharles opened this issue 5 years ago • 1 comments

safety_cadillac.h uses plain integer types throughout, instead of stdint.h typedefs, isn't that in violation of MISRA-C:2012 Dir 4.6?

muchcharles avatar Jan 12 '20 07:01 muchcharles

The current coverage only applies to rules and it's summarized here: https://github.com/commaai/panda/blob/master/tests/misra/coverage_table

Dir 4.6 is also advisory. Still, we will probably adopt it in the future.

rbiasini avatar Jan 12 '20 08:01 rbiasini