Counterexample-Guided Precondition Inference

被引:0
|
作者
Seghir, Mohamed Nassim [1 ]
Kroening, Daniel [1 ]
机构
[1] Univ Oxford, Dept Comp Sci, Oxford OX1 2JD, England
来源
基金
英国工程与自然科学研究理事会;
关键词
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 条
  • [1] Counterexample-guided control
    Henzinger, TA
    Jhala, R
    Majumdar, R
    AUTOMATA, LANGUAGES AND PROGRAMMING, PROCEEDINGS, 2003, 2719 : 886 - 902
  • [2] Counterexample-Guided Diagnosis
    Riener, Heinz
    Fey, Goerschwin
    2016 1ST IEEE INTERNATIONAL VERIFICATION AND SECURITY WORKSHOP (IVSW), 2016, : 43 - 48
  • [3] Counterexample-Guided Focus
    Podelski, Andreas
    Wies, Thomas
    POPL'10: PROCEEDINGS OF THE 37TH ANNUAL ACM SIGPLAN-SIGACT SYMPOSIUM ON PRINCIPLES OF PROGRAMMING LANGUAGES, 2010, : 249 - 260
  • [4] Counterexample-Guided Focus
    Podelski, Andreas
    Wies, Thomas
    ACM SIGPLAN NOTICES, 2010, 45 (01) : 249 - 260
  • [5] Counterexample-Guided Data Augmentation
    Dreossi, Tommaso
    Ghosh, Shromona
    Yue, Xiangyu
    Keutzer, Kurt
    Sangiovanni-Vincentelli, Alberto
    Seshia, Sanjit A.
    PROCEEDINGS OF THE TWENTY-SEVENTH INTERNATIONAL JOINT CONFERENCE ON ARTIFICIAL INTELLIGENCE, 2018, : 2071 - 2078
  • [6] Counterexample-guided abstraction refinement
    Clarke, E
    TIME-ICTL 2003: 10TH INTERNATIONAL SYMPOSIUM ON TEMPORAL REPRESENTATION AND REASONING AND FOURTH INTERNATIONAL CONFERENCE ON TEMPORAL LOGIC, PROCEEDINGS, 2003, : 7 - 8
  • [7] Counterexample-Guided Model Synthesis
    Preiner, Mathias
    Niemetz, Aina
    Biere, Armin
    TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, TACAS 2017, PT I, 2017, 10205 : 264 - 280
  • [8] Counterexample-guided inference of controller logic from execution traces and temporal formulas
    Chivilikhin, Daniil
    Buzhinsky, Igor
    Ulyantsev, Vladimir
    Stankevich, Andrey
    Shalyto, Anatoly
    Vyatkin, Valeriy
    2018 IEEE 23RD INTERNATIONAL CONFERENCE ON EMERGING TECHNOLOGIES AND FACTORY AUTOMATION (ETFA), 2018, : 91 - 98
  • [9] Counterexample-Guided Refinement of Template Polyhedra
    Bogomolov, Sergiy
    Frehse, Goran
    Giacobbe, Mirco
    Henzinger, Thomas A.
    TOOLS AND ALGORITHMS FOR THE CONSTRUCTION AND ANALYSIS OF SYSTEMS, TACAS 2017, PT I, 2017, 10205 : 589 - 606
  • [10] Everything is Good for Something: Counterexample-Guided Directed Fuzzing via Likely Invariant Inference
    Huang, Heqing
    Zhou, Anshunkang
    Payer, Mathias
    Zhang, Charles
    45TH IEEE SYMPOSIUM ON SECURITY AND PRIVACY, SP 2024, 2024, : 1956 - 1973