eprintid: 14766 rev_number: 16 eprint_status: archive userid: 2047 dir: disk0/00/01/47/66 datestamp: 2013-04-06 06:53:14 lastmod: 2016-04-21 14:35:01 status_changed: 2013-04-06 06:53:14 type: monograph metadata_visibility: show item_issues_count: 0 creators_name: Hermenegildo, Manuel V. creators_name: Puebla Sánchez, Alvaro Germán creators_name: Bueno Carrillo, Francisco title: Using global analysis, partial specifications, and an extensible assertion language for program validation and debugging ispublished: pub subjects: informatica abstract: We present a framework for the application of abstract interpretation as an aid during program development, rather than in the more traditional application of program optimization. Program validation and detection of errors is first performed statically by comparing (partial) specifications written in terms of assertions against information obtained from static analysis of the program. The results of this process are expressed in the user assertion language. Assertions (or parts of assertions) which cannot be verified statically are translated into run-time tests. The framework allows the use of assertions to be optional. It also allows using very general properties in assertions, beyond the predefined set understandable by the static analyzer and including properties defined by means of user programs. We also report briefly on an implementation of the framework. The resulting tool generates and checks assertions for Prolog, CLP(R), and CHIP/CLP(fd) programs, and integrates compile-time and run-time checking in a uniform way. The tool allows using properties such as types, modes, non-failure, determinacy, and computational cost, and can treat modules separately, performing incremental analysis. In practice, this modularity allows detecting statically bugs in user programs even if they do not contain any assertions. date: 1998-10 date_type: published publisher: Technical University of Madrid (UPM) official_url: http://clip.dia.fi.upm.es/papers/prog-glob-an_bitmap.pdf full_text_status: public monograph_type: technical_report place_of_pub: Madrid, Spain pages: 32 institution: Informatica department: Inteligencia_Artificial refereed: TRUE rights: by-nc-nd citation: Hermenegildo, Manuel V. and Puebla Sánchez, Alvaro Germán and Bueno Carrillo, Francisco (1998). Using global analysis, partial specifications, and an extensible assertion language for program validation and debugging. Monografía (Technical Report). Facultad de Informática (UPM) , Madrid, Spain. document_url: https://oa.upm.es/14766/1/HERME_TCREP_ANDMANS_1998-1.pdf