【24h】

Symbolic pointer analysis revisited

机译:再谈符号指针分析

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

摘要

Pointer analysis is a critical problem in optimizing compiler, parallelizing compiler, software engineering and most recently, hardware synthesis. While recent efforts have suggested symbolic method, which uses Bryant's Binary Decision Diagram as an alternative to capture the point-to relation, no speed advantage has been demonstrated for context-insensitive analysis, and results for context-sensitive analysis are only preliminary.In this paper, we refine the concept of symbolic transfer function proposed earlier and establish a common framework for both context-insensitive and context-sensitive pointer analysis. With this framework, our transfer function of a procedure can abstract away the impact of its callers and callees, and represent its point-to information completely, compactly and canonically. In addition, we propose a symbolic representation of the invocation graph, which can otherwise be exponentially large. In contrast to the classical frameworks where context-sensitive point-to information of a procedure has to be obtained by the application of its transfer function exponentially many times, our method can obtain point-to information of all contexts in a single application. Our experimental evaluation on a wide range of C benchmarks indicates that our context-sensitive pointer analysis can be made almost as fast as its context-insensitive counterpart.
机译:指针分析是优化编译器,并行化编译器,软件工程以及最近进行的硬件综合的关键问题。尽管最近的工作提出了符号方法,该方法使用科比的二元决策图作为捕获点对关系的替代方法,但对于上下文不敏感的分析并没有证明速度优势,并且上下文敏感的分析结果只是初步的。在本文中,我们改进了先前提出的符号传递函数的概念,并建立了上下文无关和上下文敏感指针分析的通用框架。通过此框架,我们的过程传递函数可以抽象出其调用者和被调用者的影响,并完整,紧凑和规范地表示其指向信息。此外,我们提出了调用图的符号表示形式,否则该符号表示形式可能会成倍增大。与经典框架相反,在经典框架中,必须通过多次使用其传递函数来获取过程的上下文相关指向信息,而我们的方法可以在单个应用程序中获取所有上下文的指向信息。我们对各种C基准进行的实验评估表明,上下文敏感指针分析的执行速度几乎与上下文无关指针分析的速度一样快。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号