commaai / panda

code powering the comma.ai panda
MIT License
1.52k stars 761 forks source link

MISRA-C:2012 Dir 4.6 #424

Open muchcharles opened 4 years ago

muchcharles commented 4 years ago

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?

rbiasini commented 4 years ago

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.