Points-to Analysis: A Fine-Grained Evaluation

被引:0
|
作者
Lundberg, Jonas [1 ]
Lowe, Welf [1 ]
机构
[1] Linnaeus Univ, Vaxjo, Sweden
关键词
Static program analysis; Points-to analysis; Context sensitivity;
D O I
暂无
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Points-to analysis is a static program analysis that extracts reference information from programs, e.g., possible targets of a call and possible objects referenced by a field. Previous works evaluating different approaches to context-sensitive Points-to analyses use coarse-grained precision metrics focusing on references between source code entities like methods and classes. Two typical examples of such metrics are the number of nodes and edges in a call-graph. These works indicate that context-sensitive analysis with a call-depth k = 1 only provides slightly better precision than context-insensitive analysis. Moreover, these works could not find a substantial precision improvement when using the more expensive analyses with call-depth k > 1. The hypothesis in the present paper is that substantial differences between the context-sensitive approaches show if (and only if) the precision is measured by more fine-grained metrics focusing on individual objects (rather than methods and classes) and references between them. These metrics are justified by the many applications requiring such detailed object reference information. In order to experimentally validate our hypothesis we make a systematic comparison of ten different variants of context-sensitive Points-to analysis using different call-depths k >= 1 for separating the contexts. For the comparison we use a metric suite containing four different metrics that all focus on individual objects and references between them. The main results show that the differences between different context-sensitive analysis techniques are substantial, also the differences between the context-insensitive and the context-sensitive analyses with call-depth k = 1 are substantial. The major surprise was that increasing the call-depth k > 1 did not lead to any substantial precision improvements. This is a negative result since it indicates that, in practice, we cannot get a more precise Points-to analysis by increasing the call-depth. Further investigations show that substantial precision improvements can be detected for k > 1, but they occur at such a low detail level that they are unlikely to be of any practical use.
引用
收藏
页码:2851 / 2878
页数:28
相关论文
共 50 条
  • [1] Fine-Grained Control-Flow Integrity Based on Points-to Analysis for CPS
    Qiang, Weizhong
    Wang, Shizhen
    Jin, Hai
    Zhong, Jiangying
    [J]. SECURITY AND COMMUNICATION NETWORKS, 2018,
  • [2] Fine-Grained Control-Flow Integrity Based on Points-to Analysis for CPS (vol 2018, 3130652, 2018)
    Qiang, Weizhong
    Wang, Shizhen
    Jin, Hai
    Zhong, Jiangying
    [J]. SECURITY AND COMMUNICATION NETWORKS, 2018,
  • [3] Fine-Grained Crowdsourcing for Fine-Grained Recognition
    Jia Deng
    Krause, Jonathan
    Li Fei-Fei
    [J]. 2013 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2013, : 580 - 587
  • [4] Saturation evaluation for fine-grained sediments
    Zhu, Linqi
    Wu, Shiguo
    Zhou, Xueqing
    Cai, Jianchao
    [J]. GEOSCIENCE FRONTIERS, 2023, 14 (04)
  • [5] Fine-Grained Evaluation for Entity Linking
    Rosales-Mendez, Henry
    Hogan, Aidan
    Poblete, Barbara
    [J]. 2019 CONFERENCE ON EMPIRICAL METHODS IN NATURAL LANGUAGE PROCESSING AND THE 9TH INTERNATIONAL JOINT CONFERENCE ON NATURAL LANGUAGE PROCESSING (EMNLP-IJCNLP 2019): PROCEEDINGS OF THE CONFERENCE, 2019, : 718 - 727
  • [6] Fine-Grained Error Analysis and Fair Evaluation of Labeled Spans
    Ortmann, Katrin
    [J]. LREC 2022: THIRTEEN INTERNATIONAL CONFERENCE ON LANGUAGE RESOURCES AND EVALUATION, 2022, : 1400 - 1407
  • [7] Prioritizing Constraint Evaluation for Efficient Points-to Analysis
    Nasre, Rupesh
    Govindarajan, R.
    [J]. 2011 9TH ANNUAL IEEE/ACM INTERNATIONAL SYMPOSIUM ON CODE GENERATION AND OPTIMIZATION (CGO), 2011, : 267 - 276
  • [8] Fine-Grained Analysis of Financial Tweets
    Chen, Chung-Chi
    Huang, Hen-Hsen
    Chen, Hsin-Hsi
    [J]. COMPANION PROCEEDINGS OF THE WORLD WIDE WEB CONFERENCE 2018 (WWW 2018), 2018, : 1943 - 1949
  • [9] A FINE-GRAINED ANALYSIS ON DISTRIBUTION SHIFT
    Wiles, Olivia
    Gowal, Sven
    Stimberg, Florian
    Rebuffi, Sylvestre-Alvise
    Ktena, Ira
    Dvijotham, Krishnamurthy
    Cemgil, Taylan
    [J]. ICLR 2022 - 10th International Conference on Learning Representations, 2022,
  • [10] VOLUNTARY IMAGINATION: A FINE-GRAINED ANALYSIS
    Canavotto, Ilaria
    Berto, Francesco
    Giordani, Alessandro
    [J]. REVIEW OF SYMBOLIC LOGIC, 2022, 15 (02): : 362 - 387