MISRA C 2023 规范
MISRA C 2023 规范
https://ww2.mathworks.cn/help/bugfinder/misra-c-2023-reference.html?lang=en
English Version
Directives
Implementation
[Dir 1.1] Any implementation-defined behavior on which the output of the program depends shall be documented and understood.
Compilation and build
[Dir 2.1] All source files shall compile without any compilation errors.
Code design
[Dir 4.1] Run-time failures shall be minimized.
[Dir 4.3] Assembly language shall be encapsulated and isolated.
[Dir 4.4] Sections of code should not be “commented out”.