Precision-Guided Context Sensitivity for Pointer Analysis

被引:0
|
作者
Li, Yue [1 ]
Tan, Tian [1 ]
Moller, Anders [1 ]
Smaragdakis, Yannis [2 ]
机构
[1] Aarhus Univ, Aarhus, Denmark
[2] Univ Athens, Athens, Greece
基金
欧洲研究理事会;
关键词
static analysis; points-to analysis; !text type='Java']Java[!/text;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Context sensitivity is an essential technique for ensuring high precision in Java pointer analyses. It has been observed that applying context sensitivity partially, only on a select subset of the methods, can improve the balance between analysis precision and speed. However, existing techniques are based on heuristics that do not provide much insight into what characterizes this method subset. In this work, we present a more principled approach for identifying precision-critical methods, based on general patterns of value flows that explain where most of the imprecision arises in context-insensitive pointer analysis. Accordingly, we provide an efficient algorithm to recognize these flow patterns in a given program and exploit them to yield good tradeoffs between analysis precision and speed. Our experimental results on standard benchmark and real-world programs show that a pointer analysis that applies context sensitivity partially, only on the identified precision-critical methods, preserves effectively all (98.8%) of the precision of a highly-precise conventional context-sensitive pointer analysis (2-object-sensitive with a context-sensitive heap), with a substantial speedup (on average 3.4X, and up to 9.2X).
引用
收藏
页数:29
相关论文
共 50 条
  • [1] Precision-Guided Context Sensitivity for Pointer Analysis
    Li, Yue
    Tan, Tian
    Moller, Anders
    Smaragdakis, Yannis
    PROCEEDINGS OF THE ACM ON PROGRAMMING LANGUAGES-PACMPL, 2018, 2
  • [2] Generic Sensitivity: Generics-Guided Context Sensitivity for Pointer Analysis
    Li, Haofeng
    Tan, Tian
    Li, Yue
    Lu, Jie
    Meng, Haining
    Cao, Liqing
    Huang, Yongheng
    Li, Lian
    Gao, Lin
    Di, Peng
    Lin, Liang
    Cui, Chenxi
    IEEE TRANSACTIONS ON SOFTWARE ENGINEERING, 2024, 50 (05) : 1144 - 1162
  • [3] PRECISION-GUIDED WEAPONS
    WALKER, PF
    SCIENTIFIC AMERICAN, 1981, 245 (02) : 37 - &
  • [4] PRECISION-GUIDED WEAPONS
    DIGBY, J
    BULLETIN OF PEACE PROPOSALS, 1976, 7 (02): : 123 - 124
  • [5] Precision-guided manufacturing
    Osborne, J
    PROFESSIONAL ENGINEERING, 2004, 17 (19) : 35 - 35
  • [6] Unpowered precision-guided weapons
    不详
    AVIATION WEEK & SPACE TECHNOLOGY, 2000, 152 (03): : 186 - 187
  • [7] The limits of precision-guided air power
    Pape, RA
    SECURITY STUDIES, 1997, 7 (02) : 93 - 114
  • [8] US Army plans precision-guided mortar
    Jane's Def. Ind., 2006, JULY
  • [9] Effectiveness of precision-guided munitions on armour systems
    Gupta, Rajiv
    Dayal, Arun
    Sharma, Ichchha Shankar
    DEFENCE SCIENCE JOURNAL, 2007, 57 (03) : 281 - 287
  • [10] Precision-Guided Munitions and Human Suffering in War
    Conversino, Mark J.
    JOURNAL OF MILITARY HISTORY, 2013, 77 (02): : 767 - 768