DocumentCode :
175521
Title :
Instrumentation of Annotated C Programs for Test Generation
Author :
Petiot, Guillaume ; Botella, Bernard ; Julliand, Jacques ; Kosmatov, Nikolai ; Signoles, Julien
Author_Institution :
Software Reliability Lab., CEA, Gif-sur-Yvette, France
fYear :
2014
fDate :
28-29 Sept. 2014
Firstpage :
105
Lastpage :
114
Abstract :
Software verification and validation often rely on formal specifications that encode desired program properties. Recent research proposed a combined verification approach in which a program can be incrementally verified using alternatively deductive verification and testing. Both techniques should use the same specification expressed in a unique specification language. This paper addresses this problem within the Frama-C framework for analysis of C programs, that offers ACSL as a common specification language. We provide a formal description of an automatic translation of ACSL annotations into C code that can be used by a test generation tool either to trigger and detect specification failures, or to gain confidence, or, under some assumptions, even to confirm that the code is in conformity with respect to the annotations. We implement the proposed specification translation in a combined verification tool Study. Our initial experiments suggest that the proposed support for a common specification language can be very helpful for combined static-dynamic analyses.
Keywords :
C language; program diagnostics; program testing; program verification; specification languages; ACSL; C code; FRAMA-C framework; STADY verification tool; annotated C programs; combined verification approach; program properties; software validation; software verification; specification failures; specification language; static-dynamic analyses; test generation tool; Arrays; Contracts; Grammar; Instruments; Reactive power; Semantics; Testing; C program instrumentation; Frama-C; combinations of static and dynamic analyses; deductive verification; specification language; test generation;
fLanguage :
English
Publisher :
ieee
Conference_Titel :
Source Code Analysis and Manipulation (SCAM), 2014 IEEE 14th International Working Conference on
Conference_Location :
Victoria, BC
Type :
conf
DOI :
10.1109/SCAM.2014.19
Filename :
6975644
Link To Document :
بازگشت