Title :
The Use and Implementation of Coding Standards for High-Confidence Embedded Systems
Author :
Anderson, Paul ; McDougall, Michael ; Zarins, Mark
Author_Institution :
GrammaTech, Inc., Ithaca, NY
Abstract :
The use of coding standards in safety-critical embedded software development is growing because they reduce the risk of unsafe code escaping into production devices. Three prominent rule sets comprising 345 unique rules are studied. Each rule is classified by its rationale. Techniques for detecting violations of the rules are discussed, and each of the rules is further classified by the technology best suited for its enforcement. Many rules are found to be ambiguous or prone to subjective interpretations. This is a particular problem for automatic enforcement as tools require a precise specification. For some classes of rules, theoretical and technological limitations mean that tools may report violations where no such violations occur. Strategies for managing these false positives are discussed. Broad recommendations for adoption and enforcement of rules are given.
Keywords :
embedded systems; formal specification; safety-critical software; automatic enforcement; coding standards; high-confidence embedded systems; safety-critical embedded software development; unsafe code; Code standards; Embedded software; Embedded system; Guidelines; Production; Programming; Software safety; Software standards; Software systems; Standards development;
Conference_Titel :
Aerospace Conference, 2008 IEEE
Conference_Location :
Big Sky, MT
Print_ISBN :
978-1-4244-1487-1
Electronic_ISBN :
1095-323X
DOI :
10.1109/AERO.2008.4526570