Context-sensitive multivariant assertion checking in modular programs

被引:6
作者
Pietrzak, Pawel [1 ]
Correas, Jesus
Puebla, German
Hermenegildo, Manuel V.
机构
[1] Tech Univ Madrid, Sch Comp Sci, UPM, Madrid, Spain
[2] Univ Complutense Madrid, Sch Comp Sci, Madrid, Spain
[3] Univ New Mexico, CS Dept, Albuquerque, NM 87131 USA
[4] Univ New Mexico, ECE Dept, Albuquerque, NM 87131 USA
来源
LOGIC FOR PROGRAMMING, ARTIFICIAL INTELLIGENCE, AND REASONING, PROCEEDINGS | 2006年 / 4246卷
关键词
D O I
10.1007/11916277_27
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
We propose a modular, assertion-based system for verification and debugging of large logic programs, together with several interesting models for checking assertions statically in modular programs, each with different characteristics and representing different trade-offs. Our proposal is a modular and multivariant extension of our previously proposed abstract assertion checking model and we also report on its implementation in the CiaoPP system. In our approach, the specification of the program, given by a set of assertions, may be partial, instead of the complete specification required by traditional verification systems. Also, the system can deal with properties which cannot always be determined at compile-time. As a result, the proposed system needs to work with safe approximations: all assertions proved correct are guaranteed to be valid and all errors actual errors. The use of modular, context-sensitive static analyzers also allows us to introduce a new distinction between assertions checked in a particular context or checked in general.
引用
收藏
页码:392 / 406
页数:15
相关论文
共 50 条
  • [1] Experiments in context-sensitive analysis of modular programs
    Correasi, Jesus
    Puebla, German
    Hermenegildo, Manuel V.
    Bueno, Francisco
    LOGIC BASED PROGRAM SYNTHESIS AND TRANSFORMATION, 2006, 3901 : 163 - 178
  • [2] A generic framework for context-sensitive analysis of modular programs
    Puebla, G
    Correas, J
    Hermenegildo, MV
    Bueno, F
    de la Banda, MG
    Marriott, K
    Stuckey, PJ
    PROGRAM DEVELOPMENT IN COMPUTATIONAL LOGIC: A DECADE OF RESEARCH ADVANCES IN LOGIC-BASED PROGRAM DEVELOPMENT, 2004, 3049 : 233 - 260
  • [3] Incremental and Modular Context-sensitive Analysis
    Garcia-Contreras, Isabel
    Morales, Jose F.
    Hermenegildo, Manuel, V
    THEORY AND PRACTICE OF LOGIC PROGRAMMING, 2021, 21 (02) : 196 - 243
  • [4] Context-Sensitive Timing Analysis of Esterel Programs
    Ju, Lei
    Huynh, Bach Khoa
    Chakraborty, Samarjit
    Roychoudhury, Abhik
    DAC: 2009 46TH ACM/IEEE DESIGN AUTOMATION CONFERENCE, VOLS 1 AND 2, 2009, : 870 - +
  • [5] Sufficient preconditions for modular assertion checking
    Moy, Yannick
    VERIFICATION, MODEL CHECKING, AND ABSTRACT INTERPRETATION, 2008, 4905 : 188 - +
  • [6] Sufficient preconditions for modular assertion checking
    France Télécom, Lannion, F-22307
    不详
    不详
    Lect. Notes Comput. Sci., 1600, (188-202):
  • [7] Context-Sensitive Data Race Detection for Concurrent Programs
    Zhang, Yang
    Liu, Huan
    Qiao, Liu
    IEEE ACCESS, 2021, 9 : 20861 - 20867
  • [8] EFFICIENT CONTEXT-SENSITIVE POINTER ANALYSIS FOR C PROGRAMS
    WILSON, RP
    LAM, MS
    SIGPLAN NOTICES, 1995, 30 (06): : 1 - 12
  • [9] Context-Sensitive Spell Checking Based on Field Association Terms Dictionaries
    Rokaya, Mahmoud
    Nahla, Abdallah
    Aljahdali, Sultan
    INTERNATIONAL JOURNAL OF COMPUTER SCIENCE AND NETWORK SECURITY, 2012, 12 (05): : 116 - 122
  • [10] The growing context-sensitive languages are the acyclic context-sensitive languages
    Niemann, G
    Woinowski, JR
    DEVELOPMENTS IN LANGUAGE THEORY, 2002, 2295 : 197 - 205