Points-to analysis using BDDs.

被引:54
|
作者
Berndl, M [1 ]
Lhoták, O [1 ]
Qian, F [1 ]
Hendren, L [1 ]
Umanee, N [1 ]
机构
[1] McGill Univ, Sch Comp Sci, Sable Res Grp, Montreal, PQ H3A 2A7, Canada
关键词
points-to analysis; binary decision diagrams;
D O I
10.1145/780822.781144
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
This paper reports on a new approach to solving a subset-based points-to analysis for Java using Binary Decision Diagrams (BDDs). In the model checking community, BDDs have been shown very effective for representing large sets and solving very large verification problems. Our work shows that BDDs can also be very effective for developing a points-to analysis that is simple to implement and that scales well, in both space and time, to large programs. The paper first introduces BDDs and operations on BDDs using some simple points-to examples. Then, a complete subset-based points-to algorithm is presented, expressed completely using BDDs and BDD operations. This algorithm is then refined by finding appropriate variable orderings and by making the algorithm propagate sets incrementally, in order to arrive at a very efficient algorithm. Experimental results are given to justify the choice of variable ordering, to demonstrate the improvement due to incrementalization, and to compare the performance of the BDD-based solver to an efficient hand-coded graph-based solver. Finally, based on the results of the BDD-based solver, a variety of BDD-based queries are presented, including the points-to query.
引用
收藏
页码:103 / 114
页数:12
相关论文
共 50 条
  • [31] Efficient points-to analysis for whole-program analysis
    Liang, DL
    Harrold, MJ
    [J]. SOFTWARE ENGINEERING - ESEC/FSE '99, PROCEEDINGS, 1999, 1687 : 199 - 215
  • [32] Context-sensitive points-to analysis:: Is it worth it?
    Lhoták, O
    Hendren, L
    [J]. COMPILER CONSTRUCTION, PROCEEDINGS, 2006, 3923 : 47 - 64
  • [33] Hybrid Context-Sensitivity for Points-To Analysis
    Kastrinis, George
    Smaragdakis, Yannis
    [J]. ACM SIGPLAN NOTICES, 2013, 48 (06) : 423 - 433
  • [34] Staged Points-to Analysis for Large Code Bases
    Allen, Nicholas
    Scholz, Bernhard
    Krishnan, Padmanabhan
    [J]. COMPILER CONSTRUCTION (CC 2015), 2015, 9031 : 131 - 150
  • [35] Demand-Driven Refinement of Points-to Analysis
    Sun, Chenguang
    Midkiff, Samuel
    [J]. 2019 IEEE/ACM 41ST INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING: COMPANION PROCEEDINGS (ICSE-COMPANION 2019), 2019, : 264 - 265
  • [36] Correlation Tracking for Points-To Analysis of Java']JavaScript
    Sridharan, Manu
    Dolby, Julian
    Chandra, Satish
    Schaefer, Max
    Tip, Frank
    [J]. ECOOP 2012 - OBJECT-ORIENTED PROGRAMMING, 2012, 7313 : 435 - 458
  • [37] Modeling and Diagnosing Buggy Programs with Points-to Analysis
    Peng, Tao
    Zhang, Qiang
    Chen, Rong
    [J]. MATERIALS SCIENCE AND INFORMATION TECHNOLOGY, PTS 1-8, 2012, 433-440 : 2927 - +
  • [38] Points-to Analysis: A Fine-Grained Evaluation
    Lundberg, Jonas
    Lowe, Welf
    [J]. JOURNAL OF UNIVERSAL COMPUTER SCIENCE, 2012, 18 (20) : 2851 - 2878
  • [39] Prioritizing pointer analysis algorithm based on points-to updating
    PLA Information Engineering University, Zhengzhou
    450002, China
    [J]. Ruan Jian Xue Bao, 11 (2486-2498):
  • [40] Parallel Inclusion-based Points-to Analysis
    Mendez-Lojo, Mario
    Mathew, Augustine
    Pingali, Keshav
    [J]. ACM SIGPLAN NOTICES, 2010, 45 (10) : 428 - 443