Prioritizing Constraint Evaluation for Efficient Points-to Analysis

被引:0
|
作者
Nasre, Rupesh [1 ]
Govindarajan, R. [1 ]
机构
[1] Indian Inst Sci, Bangalore 560012, Karnataka, India
关键词
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Pervasive use of pointers in large-scale real-world applications continues to make points-to analysis an important optimization-enabler. Rapid growth of software systems demands a scalable pointer analysis algorithm. A typical inclusion-based points-to analysis iteratively evaluates constraints and computes a points-to solution until a fixpoint. In each iteration, (i) points-to information is propagated across directed edges in a constraint graph G and (ii) more edges are added by processing the points-to constraints. We observe that prioritizing the order in which the information is processed within each of the above two steps can lead to efficient execution of the points-to analysis. While earlier work in the literature focuses only on the propagation order, we argue that the other dimension, that is, prioritizing the constraint processing, can lead to even higher improvements on how fast the fixpoint of the points-to algorithm is reached. This becomes especially important as we prove that finding an optimal sequence for processing the points-to constraints is NP-Complete. The prioritization scheme proposed in this paper is general enough to be applied to any of the existing points-to analyses. Using the prioritization framework developed in this paper, we implement prioritized versions of Andersen's analysis, Deep Propagation, Hardekopf and Lin's Lazy Cycle Detection and Bloom Filter based points-to analysis. In each case, we report significant improvements in the analysis times (33%, 47%, 44%, 20% respectively) as well as the memory requirements for a large suite of programs, including SPEC 2000 benchmarks and five large open source programs.
引用
收藏
页码:267 / 276
页数:10
相关论文
共 50 条
  • [21] Points-to analysis for program understanding
    Tonella, P
    Antoniol, G
    Fiutem, R
    Merlo, E
    FIFTH INTERNATIONAL WORKSHOP ON PROGRAM COMPREHENSION - IWPC '97, PROCEEDINGS, 1997, : 90 - 99
  • [22] Fast and Precise Points-to Analysis
    Lundberg, Jonas
    Gutzmann, Tobias
    Lowe, Welf
    EIGHTH IEEE INTERNATIONAL WORKING CONFERENCE ON SOURCE CODE ANALYSIS AND MANIPULATION, PROCEEDINGS, 2008, : 133 - 142
  • [23] Points-to analysis for program understanding
    Fiutem, R
    Tonella, P
    Antoniol, G
    Merlo, E
    JOURNAL OF SYSTEMS AND SOFTWARE, 1999, 44 (03) : 213 - 227
  • [24] Collections frameworks for points-to analysis
    Gutzmann, Tobias
    Lundberg, Jonas
    Löwe, Welf
    Proceedings - 2012 IEEE 12th International Working Conference on Source Code Analysis and Manipulation, SCAM 2012, 2012, : 4 - 13
  • [25] Efficient and Precise Points-to Analysis: Modeling the Heap by Merging Equivalent Automata
    Tan, Tian
    Li, Yue
    Xue, Jingling
    ACM SIGPLAN NOTICES, 2017, 52 (06) : 278 - 291
  • [26] On the non-approximability of points-to analysis
    Chakaravarthy, VT
    Horwitz, S
    ACTA INFORMATICA, 2002, 38 (08) : 587 - 598
  • [27] Flow- and Context-Sensitive Points-To Analysis Using Generalized Points-To Graphs
    Gharat, Pritam M.
    Khedker, Uday P.
    Mycroft, Alan
    STATIC ANALYSIS, (SAS 2016), 2016, 9837 : 212 - 236
  • [28] On the non-approximability of points-to analysis
    Venkatesan T. Chakaravarthy
    Susan Horwitz
    Acta Informatica, 2002, 38 : 587 - 598
  • [29] Probabilistic Points-to Analysis for Java']Java
    Sun, Qiang
    Zhao, Jianjun
    Chen, Yuting
    COMPILER CONSTRUCTION, 2011, 6601 : 62 - +
  • [30] Exception Analysis and Points-to Analysis: Better Together
    Bravenboer, Martin
    Smaragdakis, Yannis
    ISSTA 2009: INTERNATIONAL SYMPOSIUM ON SOFTWARE TESTING AND ANALYSIS, 2009, : 1 - 11