首页> 外文会议>IEEE/ACM International Conference on Program Comprehension >srcPtr: A Framework for Implementing Static Pointer Analysis Approaches
【24h】

srcPtr: A Framework for Implementing Static Pointer Analysis Approaches

机译:SRCPTR:用于实现静态指针分析方法的框架

获取原文

摘要

A lightweight pointer-analysis framework, srcPtr, is presented to support the implementation and comparison of points-to analysis algorithms. It differentiates itself from existing tools by performing the analysis directly on the abstract syntax tree, as opposed to an intermediate representation (e.g., LLVM IR), by using srcML, an XML representation of source code. Working with srcML and the abstract syntax allows easy access to the actual source code as the programmer views it, thus better supporting comprehension. Currently the framework provides example implementations for both Andersen's and Steensgaard's pointer-analysis algorithms. It also allows for easy integration of other points-to algorithms for comparison of accuracy/speed. The approach is very scalable and can generate pointer dependencies for a 750 KLOC program in less than a minute.
机译:提出了一种轻量级指针分析框架SRCPTR,以支持点对分析算法的实现和比较。它通过直接在抽象语法树上执行分析,与中间表示(例如,LLVM IR)进行分析,使用SRCML,源代码的XML表示,它与现有工具不同。使用SRCML和抽象语法可以轻松访问实际源代码,因为程序员视图,从而更好地支持理解。目前该框架为Andersen和Steensgaard的指针分析算法提供了示例实现。它还允许轻松集成其他点到算法,以便比较精度/速度。该方法非常可扩展,可以在不到一分钟内为750 kloc程序生成指针依赖性。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号