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 条
  • [41] Counterexample-Guided Repair for Symbolic-Geometric Action Abstractions
    Thomason, Wil
    Kress-Gazit, Hadas
    IEEE TRANSACTIONS ON ROBOTICS, 2023, 39 (05) : 4152 - 4165
  • [42] A counterexample-guided approach to parameter synthesis for linear hybrid automata
    Frehse, Goran
    Jha, Sumit Kumar
    Krogh, Bruce H.
    HYBRID SYSTEMS: COMPUTATION AND CONTROL, 2008, 4981 : 187 - +
  • [43] Counterexample-guided abstraction refinement for the analysis of graph transformation systems
    Koenig, Barbara
    Kozioura, Vitali
    TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, PROCEEDINGS, 2006, 3920 : 197 - 211
  • [44] Verification of a cruise control system using counterexample-guided search
    Stursberg, O
    Fehnker, A
    Han, Z
    Krogh, BH
    CONTROL ENGINEERING PRACTICE, 2004, 12 (10) : 1269 - 1278
  • [45] A Robust Optimisation Perspective on Counterexample-Guided Repair of Neural Networks
    Boetius, David
    Leue, Stefan
    Sutter, Tobias
    INTERNATIONAL CONFERENCE ON MACHINE LEARNING, VOL 202, 2023, 202
  • [46] Counterexample-guided Abstraction Refinement for Component-based Systems
    Zhang, Lianyi
    Meng, Qingdi
    Luo, Guiming
    2014 IEEE 38TH ANNUAL INTERNATIONAL COMPUTERS, SOFTWARE AND APPLICATIONS CONFERENCE (COMPSAC), 2014, : 201 - 210
  • [47] Counterexample-Guided Polynomial Loop Invariant Generation by Lagrange Interpolation
    Chen, Yu-Fang
    Hong, Chih-Duo
    Wang, Bow-Yaw
    Zhang, Lijun
    COMPUTER AIDED VERIFICATION, PT I, 2015, 9206 : 658 - 674
  • [48] Assisted Counterexample-Guided Inductive Optimization for Robot Path Planning
    Li, Mengze
    Cordeiro, Lucas
    2021 XI BRAZILIAN SYMPOSIUM ON COMPUTING SYSTEMS ENGINEERING (SBESC), 2021,
  • [49] COUNTEREXAMPLE-GUIDED PROPHECY FOR MODEL CHECKING MODULO THE THEORY OF ARRAYS
    Mann, Makai
    Irfan, Ahmed
    Griggio, Alberto
    Padon, Oded
    Barrett, Clark
    LOGICAL METHODS IN COMPUTER SCIENCE, 2021, 18 (03) : 26:1 - 26:28
  • [50] Artifact of 'FLACK: Counterexample-Guided Fault Localization for Alloy Models'
    Zheng, Guolong
    Nguyen, ThanhVu
    Gutierrez Brida, Simon
    Regis, German
    Frias, Marcelo F.
    Aguirre, Nazareno
    Bagheri, Hamid
    2021 IEEE/ACM 43RD INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: COMPANION PROCEEDINGS (ICSE-COMPANION 2021), 2021, : 179 - 180