Counterexample-Guided Precondition Inference

被引:0
|
作者
Seghir, Mohamed Nassim [1 ]
Kroening, Daniel [1 ]
机构
[1] Univ Oxford, Dept Comp Sci, Oxford OX1 2JD, England
来源
PROGRAMMING LANGUAGES AND SYSTEMS | 2013年 / 7792卷
基金
英国工程与自然科学研究理事会;
关键词
MODEL CHECKING; SOFTWARE; VERIFICATION; ABSTRACTIONS;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
The precondition for an assertion inside a procedure is useful for understanding, verifying and debugging programs. As the procedure might be used in multiple calling-contexts within a program, the precondition should be sufficiently general to enable re-use. We present an extension of counterexample-guided abstraction refinement (CEGAR) for automated precondition inference. Starting with an over-approximation of both the set of safe and unsafe states, we iteratively refine them until they become disjoint. The resulting precondition is then necessary and sufficient for the validity of the assertion, which prevents false alarms. We have implemented our approach in a tool called P-Gen. We present experimental results on string and array-manipulating programs.
引用
收藏
页码:451 / 471
页数:21
相关论文
共 50 条
  • [31] SAT-based counterexample-guided abstraction refinement
    Clarke, EA
    Anubhav, G
    Strichman, O
    IEEE TRANSACTIONS ON COMPUTER-AIDED DESIGN OF INTEGRATED CIRCUITS AND SYSTEMS, 2004, 23 (07) : 1113 - 1123
  • [32] Counterexample-guided abstraction refinement for symmetric concurrent programs
    Alastair F. Donaldson
    Alexander Kaiser
    Daniel Kroening
    Michael Tautschnig
    Thomas Wahl
    Formal Methods in System Design, 2012, 41 : 25 - 44
  • [33] Counterexample-Guided Cartesian Abstraction Refinement for Classical Planning
    Seipp, Jendrik
    Helmert, Malte
    JOURNAL OF ARTIFICIAL INTELLIGENCE RESEARCH, 2018, 62 : 535 - 577
  • [34] Counterexample-Guided Prefix Refinement Analysis for Program Verification
    Jasper, Marc
    LEVERAGING APPLICATIONS OF FORMAL METHODS, VERIFICATION, AND VALIDATION, ISOLA 2014, 2016, 683 : 143 - 155
  • [35] FLACK: Counterexample-Guided Fault Localization for Alloy Models
    Meng, Guolong
    Nguyen, ThanhVu
    Brida, Simon Gutierrez
    Regis, German
    Frias, Marcelo F.
    Aguirre, Nazareno
    Bagheri, Hamid
    2021 IEEE/ACM 43RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE 2021), 2021, : 637 - 648
  • [36] A Counterexample-Guided Debugger for Non-recursive Datalog
    Van-Dang Tran
    Kato, Hiroyuki
    Hu, Zhenjiang
    PROGRAMMING LANGUAGES AND SYSTEMS, APLAS 2020, 2020, 12470 : 323 - 342
  • [37] Counterexample-guided choice of projections in approximate symbolic model checking
    Govindaraju, SG
    Dill, DL
    ICCAD - 2000 : IEEE/ACM INTERNATIONAL CONFERENCE ON COMPUTER AIDED DESIGN, 2000, : 115 - 119
  • [38] Counterexample-Guided SMT-Driven Optimal Buffer Sizing
    Brady, Bryan A.
    Holcomb, Daniel
    Seshia, Sanjit A.
    2011 DESIGN, AUTOMATION & TEST IN EUROPE (DATE), 2011, : 329 - 334
  • [39] Counterexample-Guided Assume-Guarantee Synthesis through Learning
    Lin, Shang-Wei
    Hsiung, Pao-Ann
    IEEE TRANSACTIONS ON COMPUTERS, 2011, 60 (05) : 734 - 750
  • [40] Verification of hybrid systems based on counterexample-guided abstraction refinement
    Clarke, E
    Fehnker, A
    Han, Z
    Krogh, B
    Stursberg, O
    Theobald, M
    TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, PROCEEDINGS, 2003, 2619 : 192 - 207