Publication Details

Scaling Type-Based Points-to Analysis with Saturation

KOZÁK David, STANCU Codrut, WIMMER Christian and WÜRTHINGER Thomas. Scaling Type-Based Points-to Analysis with Saturation. In: Proceedings of the ACM on Programming Languages. New York, 2024, pp. 990-1013.
Czech title
Škálování points-to analýzy založené na typech s využitím saturace
Type
conference paper
Language
english
Authors
Kozák David, Ing. (DITS FIT BUT)
Stancu Codrut (Oracle)
Wimmer Christian (Oracle)
Würthinger Thomas (Oracle)
Keywords

points-to analysis, static analysis, pointer analysis, Java, GraalVM

Abstract

Designing a whole-program static analysis requires trade-offs between precision and scalability. While a context-insensitive points-to analysis is often considered a good compromise, it still has non-linear complexity that leads to scalability problems when analyzing large applications. On the other hand, rapid type analysis scales well but lacks precision. We use saturation in a context-insensitive type-based points-to analysis to make it as scalable as a rapid type analysis, while preserving most of the precision of the points-to analysis. With saturation, the points-to analysis only propagates small points-to sets for variables. If a variable can have more values than a certain threshold, the variable and all its usages are considered saturated and no longer analyzed.

Our implementation in the points-to analysis of GraalVM Native Image, a closed-world approach to build standalone binaries for Java applications, shows that saturation allows GraalVM Native Image to analyze large Java applications with hundreds of thousands of methods in less than two minutes.

Published
2024
Pages
990-1013
Proceedings
Proceedings of the ACM on Programming Languages
Conference
ACM SIGPLAN Conference on Programming Language Design and Implementation -- PLDI'24, Copenhagen, DK
Place
New York, US
DOI
EID Scopus
BibTeX
@INPROCEEDINGS{FITPUB13203,
   author = "David Koz\'{a}k and Codrut Stancu and Christian Wimmer and Thomas W{\"{u}}rthinger",
   title = "Scaling Type-Based Points-to Analysis with Saturation",
   pages = "990--1013",
   booktitle = "Proceedings of the ACM on Programming Languages",
   year = 2024,
   location = "New York, US",
   doi = "10.1145/3656417",
   language = "english",
   url = "https://www.fit.vut.cz/research/publication/13203"
}
Back to top