首页> 外文会议>Perspectives of systems informatics >Anti-unification Algorithms and Their Applications in Program Analysis
【24h】

Anti-unification Algorithms and Their Applications in Program Analysis

机译:反统一算法及其在程序分析中的应用

获取原文
获取原文并翻译 | 示例

摘要

A term t is called a template of terms t_1and t_2 iff t_1 = tη_1 and t_2 = tη_2, for some substitutions η_1 and η_2. A template t of t_1 and t_2 is called the most specific iff for any template t' of t_1 and t_2 there exists a substitution ξ such that t = t'ξ. The anti-unification problem is that of computing the most specific template of two given terms. This problem is dual to the well-known unification problem, which is the computing of the most general instance of terms. Unification is used extensively in automatic theorem proving and logic programming. We believe that anti-unification algorithms may have wide applications in program analysis. In this paper we present an efficient algorithm for computing the most specific templates of terms represented by labelled directed acyclic graphs and estimate the complexity of the anti-unification problem. We also describe techniques for invariant generation and software clone detection based on the concepts of the most specific templates and anti-unification.
机译:对于某些替换η_1和η_2,术语t称为术语t_1和t_2的模板(如果t_1 =tη_1且t_2 =tη_2)。对于t_1和t_2的任何模板t',将t_1和t_2的模板t称为最特定的iff,存在替换ξ,使得t =t'ξ。反统一问题是计算两个给定术语的最具体模板的问题。这个问题是众所周知的统一问题的双重问题,统一问题是最通用的术语实例的计算。统一在自动定理证明和逻辑编程中被广泛使用。我们认为,反统一算法可能在程序分析中具有广泛的应用。在本文中,我们提出了一种有效的算法,用于计算由带标记的有向无环图表示的最具体的术语模板,并估计反统一问题的复杂性。我们还将根据最具体的模板和反统一的概念来描述用于不变式生成和软件克隆检测的技术。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号