Rethinking Incremental and Parallel Pointer Analysis

Author:

Liu Bozhen1ORCID,Huang Jeff1,Rauchwerger Lawrence1

Affiliation:

1. Texas A8M University, College Station, TX, USA

Abstract

Pointer analysis is at the heart of most interprocedural program analyses. However, scaling pointer analysis to large programs is extremely challenging. In this article, we study incremental pointer analysis and present a new algorithm for computing the points-to information incrementally (i.e., upon code insertion, deletion, and modification). Underpinned by new observations of incremental pointer analysis, our algorithm significantly advances the state of the art in that it avoids redundant computations and the expensive graph reachability analysis, and preserves precision as the corresponding whole program exhaustive analysis. Moreover, it is parallel within each iteration of fixed-point computation. We have implemented our algorithm, IPA, for Java based on the WALA framework and evaluated its performance extensively on real-world large, complex applications. Experimental results show that IPA achieves more than 200X speedups over existing incremental algorithms, two to five orders of magnitude faster than whole program pointer analysis, and also improves the performance of an incremental data race detector by orders of magnitude. Our IPA implementation is open source and has been adopted by WALA.

Funder

Google Faculty Award

National Science Foundation

Publisher

Association for Computing Machinery (ACM)

Subject

Software

Reference86 articles.

1. 2018. Language Server Protocol. https://langserver.org/. 2018. Language Server Protocol. https://langserver.org/.

2. Application-Only Call Graph Construction

3. Reviser: efficiently updating IDE-/IFDS-based data-flow analyses in response to incremental program changes

4. SSA based IR in WALA. 2018. Retrieved January 23 2019 from https://github.com/wala/WALA/wiki/Intermediate-Representation-(IR). SSA based IR in WALA. 2018. Retrieved January 23 2019 from https://github.com/wala/WALA/wiki/Intermediate-Representation-(IR).

5. A New Approach to Incremental Cycle Detection and Related Problems

Cited by 22 articles. 订阅此论文施引文献 订阅此论文施引文献,注册后可以免费订阅5篇论文的施引文献,订阅后可以查看论文全部施引文献

1. Finding Cuts in Static Analysis Graphs to Debloat Software;Proceedings of the 33rd ACM SIGSOFT International Symposium on Software Testing and Analysis;2024-09-11

2. Accelerating Static Null Pointer Dereference Detection with Parallel Computing;Proceedings of the 15th Asia-Pacific Symposium on Internetware;2024-07-24

3. Homeostasis: Design and Implementation of a Self-Stabilizing Compiler;ACM Transactions on Programming Languages and Systems;2024-05

4. On-the-Fly Static Analysis via Dynamic Bidirected Dyck Reachability;Proceedings of the ACM on Programming Languages;2024-01-05

5. Compositional Taint Analysis for Enforcing Security Policies at Scale;Proceedings of the 31st ACM Joint European Software Engineering Conference and Symposium on the Foundations of Software Engineering;2023-11-30

同舟云学术

1.学者识别学者识别

2.学术分析学术分析

3.人才评估人才评估

"同舟云学术"是以全球学者为主线,采集、加工和组织学术论文而形成的新型学术文献查询和分析系统,可以对全球学者进行文献检索和人才价值评估。用户可以通过关注某些学科领域的顶尖人物而持续追踪该领域的学科进展和研究前沿。经过近期的数据扩容,当前同舟云学术共收录了国内外主流学术期刊6万余种,收集的期刊论文及会议论文总量共计约1.5亿篇,并以每天添加12000余篇中外论文的速度递增。我们也可以为用户提供个性化、定制化的学者数据。欢迎来电咨询!咨询电话:010-8811{复制后删除}0370

www.globalauthorid.com

TOP

Copyright © 2019-2024 北京同舟云网络信息技术有限公司
京公网安备11010802033243号  京ICP备18003416号-3