A Lesson on Runtime Assertion Checking with Frama-C

作者: Nikolai Kosmatov , Julien Signoles

DOI: 10.1007/978-3-642-40787-1_29

关键词:

摘要: Runtime assertion checking provides a powerful, highly automatizable technique to detect violations of specified program properties. This paper lesson on runtime with Frama-C, publicly available toolset for analysis C programs. We illustrate how can be in executable specification language e-acsl and this automatically translated into instrumented code suitable monitoring verification show various errors detected the code, including errors, failures postconditions, assertions, preconditions called functions, memory leaks. Benefits combining other Frama-C analyzers are illustrated as well.

参考文章(12)
Nikolai Kosmatov, Guillaume Petiot, Julien Signoles, An Optimized Memory Monitoring for Runtime Assertion Checking of C Programs runtime verification. pp. 167- 182 ,(2013) , 10.1007/978-3-642-40787-1_10
Pascal Cuoq, Florent Kirchner, Nikolai Kosmatov, Virgile Prevosto, Julien Signoles, Boris Yakobowski, Frama-C Software Engineering and Formal Methods. pp. 233- 247 ,(2012) , 10.1007/978-3-642-33826-7_16
Mike Barnett, K. Rustan M. Leino, Wolfram Schulte, The Spec# Programming System: An Overview Construction and Analysis of Safe, Secure, and Interoperable Smart Devices. ,vol. 3362, pp. 49- 69 ,(2005) , 10.1007/978-3-540-30569-9_3
Mickaël Delahaye, Nikolai Kosmatov, Julien Signoles, Common specification language for static and dynamic analysis of C programs acm symposium on applied computing. ,vol. 2, pp. 1230- 1235 ,(2013) , 10.1145/2480362.2480593
Gary T. Leavens, Yoonsik Cheon, Curtis Clifton, Clyde Ruby, David R. Cok, How the design of JML accommodates both runtime assertion checking and formal verification formal methods. ,vol. 55, pp. 185- 208 ,(2005) , 10.1016/J.SCICO.2004.05.015
Patrick Cousot, Radhia Cousot, Abstract interpretation Proceedings of the 4th ACM SIGACT-SIGPLAN symposium on Principles of programming languages - POPL '77. pp. 238- 252 ,(1977) , 10.1145/512950.512973
Lori A. Clarke, David S. Rosenblum, A historical perspective on runtime assertion checking in software development ACM SIGSOFT Software Engineering Notes. ,vol. 31, pp. 25- 37 ,(2006) , 10.1145/1127878.1127900
E. W. Dijkstra, A constructive approach to the problem of program correctness Bit Numerical Mathematics. ,vol. 8, pp. 174- 186 ,(1968) , 10.1007/BF01933419
Benjamin Monate, Yannick Moy, Patrick Baudin, Claude Marché, Virgile Prevosto, Jean-Christophe Filliâtre, ACSL: ANSI/ISO C Specification Language ,(2008)
Bernard Botella, Mickael Delahaye, Stephane Hong-Tuan-Ha, Nikolai Kosmatov, Patricia Mouy, Muriel Roger, Nicky Williams, Automating structural testing of C programs: Experience with PathCrawler automation of software test. pp. 70- 78 ,(2009) , 10.1109/IWAST.2009.5069043