commaai / panda

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

enable misra-c2012-21.2 #1819

Closed 0x41head closed 8 months ago

0x41head commented 8 months ago

For #1794

Due to numerous implicit calls, I was unable to rename memset and memcpy. Changing their names in flasher.h breaks the tests. Suppressed them for now.

adeebshihadeh commented 8 months ago

Suppression is correct for the libc.h functions, since this is our own implementation of them in lieu of including libc.