首页> 外文会议>International symposium on automated technology for verification and analysis >A Mechanically Checked Generation of Correlating Programs Directed by Structured Syntactic Differences
【24h】

A Mechanically Checked Generation of Correlating Programs Directed by Structured Syntactic Differences

机译:机械检查生成的相关程序的结构化语法差异

获取原文

摘要

We present a new algorithm for the construction of a correlating program from the syntactic difference between the original and modified versions of a program. This correlating program exhibits the semantics of the two input programs and can then be used to compute their semantic differences, following an approach of Partush and Yahav. We show that Partush and Yahav's correlating program is unsound on loops that include an early exit. Our algorithm is defined on an imperative language with while-loops, break, and continue. To guarantee its correctness, it is formalized and mechanically checked within the Coq proof assistant. On a series of examples, we experimentally find that the static analyzer dizy is at least as precise on our correlating program as on Partush and Yahav's.
机译:我们从程序的原始版本和修改版本之间的句法差异出发,提出了一种用于构造相关程序的新算法。该相关程序展示了两个输入程序的语义,然后可以按照Partush和Yahav的方法来计算它们的语义差异。我们显示Partush和Yahav的关联程序在包括提前退出的循环中是不完善的。我们的算法是在具有while循环,break和continue的命令式语言上定义的。为了保证其正确性,在Coq校对助手中对其进行了形式化和机械检查。在一系列示例中,我们通过实验发现,静态分析器dizy在我们的关联程序上至少与Partush和Yahav一样精确。

著录项

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号