Back to Search
Start Over
A GCC-based checker for compliance with MISRA-C's single-translation-unit rules.
- Source :
- Connection Science; Dec2023, Vol. 35 Issue 1, p1-19, 19p
- Publication Year :
- 2023
-
Abstract
- MISRA-C is a writing specification for the C programming language defined by the Motor Industry Software Reliability Association (MISRA). It establishes a set of rules to enhance the development of software that is safe, reliable, and portable. MISRA-C is widely adopted by industries such as aerospace, defense and security, telecommunications, and medical device manufacturers. We developed a static detector of code's compliance with MISRA-C's single-translation-unit rules. The code checker is based on the GNU Compiler Collection (GCC). This paper describes the strategies underlying the detector's design and implementation. For the tested benchmarks, the proposed checker is demonstrated to correctly assess compliance with or violation of all single-translation-unit rules. It can also obtain more accurate and more complete results than Cppcheck, a popular open-source checker. The source code can be downloaded from . [ABSTRACT FROM AUTHOR]
Details
- Language :
- English
- ISSN :
- 09540091
- Volume :
- 35
- Issue :
- 1
- Database :
- Complementary Index
- Journal :
- Connection Science
- Publication Type :
- Academic Journal
- Accession number :
- 174546669
- Full Text :
- https://doi.org/10.1080/09540091.2023.2222934