Artículo
An evolutionary approach to translating operational specifications into declarative specifications
Molina, Facundo Joaquín
; Cornejo, César Mauricio
; Degiovanni, Renzo; Regis, Germán; Castro, Pablo Francisco
; Aguirre, Nazareno Matias
; Frias, Marcelo Fabian
Fecha de publicación:
05/2019
Editorial:
Elsevier Science
Revista:
Science of Computer Programming
ISSN:
0167-6423
Idioma:
Inglés
Tipo de recurso:
Artículo publicado
Clasificación temática:
Resumen
Various tools for program analysis, including run-time assertion checkers and static analyzers such as verification and test generation tools, require formal specifications of the programs being analyzed. Moreover, many of these tools and techniques require such specifications to be written in a particular style, or follow certain patterns, in order to obtain an acceptable performance from the corresponding analyses. Thus, having a formal specification sometimes is not enough for using a particular technique, since such specification may not be provided in the right formalism. In this paper, we deal with this problem in the increasingly common case of having an operational specification, while for analysis reasons requiring a declarative specification. We propose an evolutionary approach to translate an operational specification written in a sequential programming language, into a declarative specification, in relational logic. We perform experiments on a benchmark of data structure implementations, for which operational invariants are available, and show that our evolutionary computation based approach to translating specifications achieves very good precision in this context, and produces declarative specifications that are more amenable to analyses that demand specifications in this style. This is assessed in two contexts: bounded verification of data structure invariant preservation, and instance enumeration using symbolic execution aided by tight bounds.
Archivos asociados
Licencia
Identificadores
Colecciones
Articulos(CCT - CORDOBA)
Articulos de CTRO.CIENTIFICO TECNOL.CONICET - CORDOBA
Articulos de CTRO.CIENTIFICO TECNOL.CONICET - CORDOBA
Articulos(SEDE CENTRAL)
Articulos de SEDE CENTRAL
Articulos de SEDE CENTRAL
Citación
Molina, Facundo Joaquín; Cornejo, César Mauricio; Degiovanni, Renzo; Regis, Germán; Castro, Pablo Francisco; et al.; An evolutionary approach to translating operational specifications into declarative specifications; Elsevier Science; Science of Computer Programming; 181; 5-2019; 47-63
Compartir
Altmétricas