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 条
  • [21] Effective Heuristics for Counterexample-Guided Abstraction Refinement
    He, Fei
    Song, Xiaoyu
    Gu, Ming
    Sun, Jiaguang
    GLSVLSI'07: PROCEEDINGS OF THE 2007 ACM GREAT LAKES SYMPOSIUM ON VLSI, 2007, : 393 - 398
  • [22] Counterexample-guided abstraction refinement for symbolic model checking
    Clarke, E
    Grumberg, O
    Jha, S
    Lu, Y
    Veith, H
    JOURNAL OF THE ACM, 2003, 50 (05) : 752 - 794
  • [23] Counterexample-guided abstraction refinement for linear programs with arrays
    Alessandro Armando
    Massimo Benerecetti
    Jacopo Mantovani
    Automated Software Engineering, 2014, 21 : 225 - 285
  • [24] Counterexample-guided abstraction refinement for symmetric concurrent programs
    Donaldson, Alastair F.
    Kaiser, Alexander
    Kroening, Daniel
    Tautschnig, Michael
    Wahl, Thomas
    FORMAL METHODS IN SYSTEM DESIGN, 2012, 41 (01) : 25 - 44
  • [25] Solving quantified linear arithmetic by counterexample-guided instantiation
    Reynolds, Andrew
    King, Tim
    Kuncak, Viktor
    FORMAL METHODS IN SYSTEM DESIGN, 2017, 51 (03) : 500 - 532
  • [26] Counterexample-guided abstraction refinement for linear programs with arrays
    Armando, Alessandro
    Benerecetti, Massimo
    Mantovani, Jacopo
    AUTOMATED SOFTWARE ENGINEERING, 2014, 21 (02) : 225 - 285
  • [27] Solving quantified linear arithmetic by counterexample-guided instantiation
    Andrew Reynolds
    Tim King
    Viktor Kuncak
    Formal Methods in System Design, 2017, 51 : 500 - 532
  • [28] A counterexample-guided refinement tool for open procedural programs
    Dimovski, A
    Ghica, DR
    Lazic, R
    MODEL CHECKING SOFTWARE, PROCEEDINGS, 2006, 3925 : 288 - 292
  • [29] Thread-Modular Counterexample-Guided Abstraction Refinement
    Malkis, Alexander
    Podelski, Andreas
    Rybalchenko, Andrey
    STATIC ANALYSIS, 2010, 6337 : 356 - +
  • [30] Counterexample-Guided Partial Bounding for Recursive Function Synthesis
    Farzan, Azadeh
    Nicolet, Victor
    COMPUTER AIDED VERIFICATION (CAV 2021), PT I, 2021, 12759 : 832 - 855