Instrumentation of Annotated C Programs for Test Generation
Affiliation auteurs | !!!! Error affiliation !!!! |
Titre | Instrumentation of Annotated C Programs for Test Generation |
Type de publication | Conference Paper |
Year of Publication | 2014 |
Auteurs | Petiot G, Botella B, Julliand J, Kosmatov N, Signoles J |
Conference Name | 2014 14TH IEEE INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION (SCAM 2014) |
Publisher | Microsoft Res; Univ Alberta; Grammatech Inc; Loyola Univ Maryland; Semantic Designs Inc; IEEE; IEEE Comp Soc; Univ Studiorum Molisii |
Conference Location | 345 E 47TH ST, NEW YORK, NY 10017 USA |
ISBN Number | 978-0-7695-5304-7 |
Mots-clés | C program instrumentation, combinations of static and dynamic analyses, Deductive verification, Frama-C, specification language, test generation |
Résumé | 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 STADY. Our initial experiments suggest that the proposed support for a common specification language can be very helpful for combined static-dynamic analyses. |
DOI | 10.1109/SCAM.2014.19 |