Points-to Analysis as a System of Linear Equations

被引:0
|
作者
Nasre, Rupesh [1 ]
Govindarajan, Ramaswamy [1 ]
机构
[1] Indian Inst Sci, Dept Comp Sci & Automat, Bangalore 560012, Karnataka, India
来源
STATIC ANALYSIS | 2010年 / 6337卷
关键词
D O I
暂无
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
We propose a novel formulation of the points-to analysis as a system of linear equations. With this, the efficiency of the points-to analysis can be significantly improved by leveraging the advances in solution procedures for solving the systems of linear equations. However, such a formulation is non-trivial and becomes challenging due to various facts, namely, multiple pointer indirections, address-of operators and multiple assignments to the same variable. Further, the problem is exacerbated by the need to keep the transformed equations linear. Despite this, we successfully model all the pointer operations. We propose a novel inclusion-based context-sensitive points-to analysis algorithm based on prime factorization, which can model all the pointer operations. Experimental evaluation on SPEC 2000 benchmarks and two large open source programs reveals that our approach is competitive to the state-of-the-art algorithms. With an average memory requirement of mere 21MB, our context-sensitive points-to analysis algorithm analyzes each benchmark in 55 seconds on an average.
引用
收藏
页码:422 / 438
页数:17
相关论文
共 50 条
  • [41] Scaling Java']Java points-to analysis using SPARK
    Lhoták, O
    Hendren, L
    COMPILER CONSTRUCTION, PROCEEDINGS, 2003, 2622 : 153 - 169
  • [42] An Incremental Points-to Analysis with CFL-Reachability
    Lu, Yi
    Shang, Lei
    Xie, Xinwei
    Xue, Jingling
    COMPILER CONSTRUCTION, CC 2013, 2013, 7791 : 61 - 81
  • [43] Demand-driven points-to analysis for Java']Java
    Sridharan, M
    Gopan, D
    Shan, L
    Bodík, R
    ACM SIGPLAN NOTICES, 2005, 40 (10) : 59 - 76
  • [44] Active Learning of Points-To Specifications
    Bastani, Osbert
    Sharma, Rahul
    Aiken, Alex
    Liang, Percy
    PROCEEDINGS OF THE 39TH ACM SIGPLAN CONFERENCE ON PROGRAMMING LANGUAGE DESIGN AND IMPLEMENTATION, PLDI 2018, 2018, : 678 - 692
  • [45] Points-to analysis for Java']Java using annotated constraints
    Rountev, A
    Milanova, A
    Ryder, BG
    ACM SIGPLAN NOTICES, 2001, 36 (11) : 43 - 55
  • [46] Exploiting the Structure of the Constraint Graph for Efficient Points-to Analysis
    Nasre, Rupesh
    ACM SIGPLAN NOTICES, 2012, 47 (11) : 121 - 132
  • [47] Hash Consed Points-To Sets
    Barbar, Mohamad
    Sui, Yulei
    STATIC ANALYSIS, SAS 2021, 2021, 12913 : 25 - 48
  • [48] A constraint-weaving approach to points-to analysis for AspectJ
    Sun, Qiang
    Chen, Yuting
    Zhao, Jianjun
    FRONTIERS OF COMPUTER SCIENCE, 2014, 8 (01) : 52 - 68
  • [49] Parallel points-to analysis for multi-core machines
    School of Computer Science, Physics and Mathematics, Linnaeus University, 35195 Växjö, Sweden
    HiPEAC - Proc. Int. Conf. High Perform. Embedded Archit. Compilers, (45-54):
  • [50] A GPU Implementation of Inclusion-based Points-to Analysis
    Mendez-Lojo, Mario
    Burtscher, Martin
    Pingali, Keshav
    ACM SIGPLAN NOTICES, 2012, 47 (08) : 107 - 116