Integrated program debugging, verification, and optimization using abstract interpretation (and the Ciao system preprocessor)


Autoria(s): Bueno Carrillo, Francisco; Hermenegildo, Manuel V.; López García, Pedro; Puebla Sánchez, Alvaro Germán
Data(s)

2005

Resumo

The technique of Abstract Interpretation has allowed the development of very sophisticated global program analyses which are at the same time provably correct and practical. We present in a tutorial fashion a novel program development framework which uses abstract interpretation as a fundamental tool. The framework uses modular, incremental abstract interpretation to obtain information about the program. This information is used to validate programs, to detect bugs with respect to partial specifications written using assertions (in the program itself and/or in system libraries), to generate and simplify run-time tests, and to perform high-level program transformations such as multiple abstract specialization, parallelization, and resource usage control, all in a provably correct way. In the case of validation and debugging, the assertions can refer to a variety of program points such as procedure entry, procedure exit, points within procedures, or global computations. The system can reason with much richer information than, for example, traditional types. This includes data structure shape (including pointer sharing), bounds on data structure sizes, and other operational variable instantiation properties, as well as procedure-level properties such as determinacy, termination, nonfailure, and bounds on resource consumption (time or space cost). CiaoPP, the preprocessor of the Ciao multi-paradigm programming system, which implements the described functionality, will be used to illustrate the fundamental ideas.

Formato

application/pdf

Identificador

http://oa.upm.es/11151/

Idioma(s)

eng

Publicador

Facultad de Informática (UPM)

Relação

http://oa.upm.es/11151/1/HERME_A_2005-4.pdf

http://www.journals.elsevier.com/science-of-computer-programming/#description

info:eu-repo/semantics/altIdentifier/doi/10.1016/j.scico.2005.02.006

Direitos

http://creativecommons.org/licenses/by-nc-nd/3.0/es/

info:eu-repo/semantics/openAccess

Fonte

Science of computer programming, ISSN 0167-6423, 2005, Vol. 58, No. 1-2

Palavras-Chave #Informática
Tipo

info:eu-repo/semantics/article

Artículo

PeerReviewed