commaai / panda

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

Make MISRA results consistent across cppcheck runs #1867

Closed 0x41head closed 7 months ago

0x41head commented 7 months ago

For #1847

Update on the issue: After some communication with the cppchecker team, it seems that specific misra violations return 0 with the both cases:

Hence to exit when we find any misra violation, I have decided to grep the output log for misra violation