|This article needs additional citations for verification. (December 2012)|
|Stable release||1.2 / November 12, 2012|
|Type||Static code analysis|
ECLAIR is a complete re-engineering of a series of prototypes developed at the Applied Formal Methods Laboratory of the University of Parma. It uses formal methods-based static code analysis techniques such as abstract interpretation and model checking combined with constraint satisfaction techniques to detect or prove the absence of certain run time errors in source code, and provides support for program analysis and verification, program test generation and program transformation.
Concerning program analysis and verification, ECLAIR can statically detect or proof the absence of run-time anomalies as well as automatically check for conformance with respect to several coding standards, such as MISRA C, MISRA C++, CERT C Secure Coding Standard, CERT C++ Secure Coding Standard, High-Integrity C++, NASA/JPL C, ESA/BSSC C/C++, JSF C++, EC--, Netrino Embedded C, The Power of Ten (C), Industrial Strength C++.
For program testing, ECLAIR can automatically synthesize sets of unit test inputs that reach a user-specified coverage criterion, warning the user when, due to infeasible conditions in the program, this coverage cannot be attained.
Regarding program transformation, ECLAIR can be used to perform complex program transformations: these are specified by syntactic and semantics-based criteria; the program regions in the source that match these criteria can be optionally replaced by a parametrized substitution.
- R. Bagnara, P. M. Hill, E. Zaffanella (2007). "A Prolog-based Environment for Reasoning about Programming Languages". arXiv:0711.0345 [cs.PL].
- Seacord, Robert C. (2013). Secure Coding in C and C++. SEI Series in Software Engineering (2nd ed.). Addison-Wesley Professional. ISBN 978-0-321-82213-0.
- Hatton, L. (2005). "EC—a measurement based safer subset of ISO C suitable for embedded system development". Information and Software Technology 47 (3): 181–695. doi:10.1016/j.infsof.2004.08.001.
- Barr, Michael (2008). Embedded C Coding Standard. Barr Group. ISBN 1442164824.
- Gerald, J. (2006). "The Power of 10: Rules for Developing Safety-Critical Code". Computer 39 (6): 95–95. doi:10.1109/MC.2006.212.
- Henricson, Mats; Nyquist, Erik (1997). Industrial Strength C++. Prentice-Hall PTR. ISBN 0131209655.