A generic framework for context-sensitive analysis of modular programs


Autoria(s): Puebla Sánchez, Alvaro Germán; Correas Fernandez, Jesús; Hermenegildo, Manuel V.; Bueno Carrillo, Francisco; García de la Banda, M.; Marriott, K.; Stuckey, P.J.
Data(s)

01/08/2004

Resumo

Context-sensitive analysis provides information which is potentially more accurate than that provided by context-free analysis. Such information can then be applied in order to validate/debug the program and/or to specialize the program obtaining important improvements. Unfortunately, context-sensitive analysis of modular programs poses important theoretical and practical problems. One solution, used in several proposals, is to resort to context-free analysis. Other proposals do address context-sensitive analysis, but are only applicable when the description domain used satisfies rather restrictive properties. In this paper, we argüe that a general framework for context-sensitive analysis of modular programs, Le., one that allows using all the domains which have proved useful in practice in the non-modular setting, is indeed feasible and very useful. Driven by our experience in the design and implementation of analysis and specialization techniques in the context of CiaoPP, the Ciao system preprocessor, in this paper we discuss a number of design goals for context-sensitive analysis of modular programs as well as the problems which arise in trying to meet these goals. We also provide a high-level description of a framework for analysis of modular programs which does substantially meet these objectives. This framework is generic in that it can be instantiated in different ways in order to adapt to different contexts. Finally, the behavior of the different instantiations w.r.t. the design goals that motivate our work is also discussed.

Formato

application/pdf

Identificador

http://oa.upm.es/14560/

Idioma(s)

eng

Publicador

Facultad de Informática (UPM)

Relação

http://oa.upm.es/14560/1/HERME_ARTINBOOKS_2004-1.pdf

http://link.springer.com/chapter/10.1007%2F978-3-540-25951-0_8

info:eu-repo/semantics/altIdentifier/doi/10.1007/978-3-540-25951-0_8

Direitos

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

info:eu-repo/semantics/openAccess

Fonte

A generic framework for context-sensitive analysis of modular programs | En: Program Development in Computational Logic | pag. 233-260 | Springer Berlin Heidelberg | 2004-08

Palavras-Chave #Informática
Tipo

info:eu-repo/semantics/bookPart

Sección de Libro

PeerReviewed