首页> 外文会议>ESOP 2014;ETAPS 2014;European Symposium on Programming >A Correspondence between Two Approaches to Interprocedural Analysis in the Presence of Join
【24h】

A Correspondence between Two Approaches to Interprocedural Analysis in the Presence of Join

机译:在加入的情况下,两种方法对复对分析的方法的对应关系

获取原文

摘要

Many interprocedural static analyses perform a lossy join for reasons of termination or efficiency. We study the relationship between two predominant approaches to interprocedural analysis, the summary-based (or functional) approach and the call-strings (or k-CFA) approach, in the presence of a lossy join. Despite the use of radically different ways to distinguish procedure contexts by these two approaches, we prove that post-processing their results using a form of garbage collection renders them equivalent. Our result extends the classic result by Sharir and Pnueli that showed the equivalence between these two approaches in the setting of distributive analysis, wherein the join is lossless. We also empirically compare these two approaches by applying them to a pointer analysis that performs a lossy join. Our experiments on ten Java programs of size 400K-900K bytecodes show that the summary-based approach outperforms an optimized implementation of the k-CFA approach: the k-CFA implementation does not scale beyond k=2, while the summary-based approach proves up to 46% more pointer analysis client queries than 2-CFA. The summary-based approach thus enables, via our equivalence result, to measure the precision of k-CFA with unbounded k, for the class of interprocedural analyses that perform a lossy join.
机译:由于终止或效率的原因,许多静态分析进行了有损加入。我们研究了两种主要方法对传播性分析的关系,基于摘要(或功能)方法以及呼叫字符串(或k-CFA)方法,在存在有损的连接中。尽管使用了这种两种方法的完全不同的方式来区分程序上下文,但我们证明了使用一种垃圾收集形式后处理它们的结果使它们相同。我们的结果通过Sharir和Pnueli扩展了经典的结果,该Pnueli在分配分析的设置中显示了这两种方法之间的等价,其中连接是无损的。我们还通过将它们应用于执行有损加入的指针分析来凭经验比较这两种方法。我们对十大Java尺寸的实验尺寸400K-900K字节码表示基于摘要的方法优于K-CFA方法的优化实现:K-CFA实现不超过k = 2,而基于摘要的方法证明了高达46%的指针分析客户端查询超过2-CFA。因此,基于摘要的方法通过我们的等价结果使得能够测量K-CFA的精度,对于执行有损连接的移植分析类别,可以获得无限的k。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号