Counterexample-Guided precondition inference

PROGRAMMING LANGUAGES AND SYSTEMS(2013)

引用 17|浏览0
暂无评分
摘要
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.
更多
查看译文
关键词
unsafe state,resulting precondition,array-manipulating program,false alarm,debugging program,counterexample-guided abstraction refinement,automated precondition inference,multiple calling-contexts,counterexample-guided precondition inference
AI 理解论文
溯源树
样例
生成溯源树,研究论文发展脉络
Chat Paper
正在生成论文摘要