Lune

PLDI2024Top-tier venue

Scaling Type-Based Points-to Analysis with Saturation

Christian Wimmer, Codrut Stancu, David Kozak, Thomas Würthinger

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

6 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Two Approaches to Fast Bytecode Frontend for Static Analysis cites Tai-e: A Developer-Friendly Static Analysis Framework for Java by Harnessing the Good Designs of Classics
  • Tai-e: A Developer-Friendly Static Analysis Framework for Java by Harnessing the Good Designs of Classics cites Compacting points-to sets through object clustering
  • Heap Abstraction via Early-Confluent Object Merging for Pointer Analysis cites A Container-Usage-Pattern-Based Context Debloating Approach for Object-Sensitive Pointer Analysis
  • Heap Abstraction via Early-Confluent Object Merging for Pointer Analysis cites Tai-e: A Developer-Friendly Static Analysis Framework for Java by Harnessing the Good Designs of Classics
  • Heap Abstraction via Early-Confluent Object Merging for Pointer Analysis cites JavaScript Pointer Analysis with Adaptive Heap Abstraction
  • Heap Abstraction via Early-Confluent Object Merging for Pointer Analysis cites Context Sensitivity without Contexts: A Cut-Shortcut Approach to Fast and Precise Pointer Analysis
  • Universal Scalability in Declarative Program Analysis (with Choice-Based Combination Pruning) cites Static analysis of Java enterprise applications: frameworks and caches, the elephants in the room
  • Universal Scalability in Declarative Program Analysis (with Choice-Based Combination Pruning) cites Context Sensitivity without Contexts: A Cut-Shortcut Approach to Fast and Precise Pointer Analysis
  • Context Sensitivity without Contexts: A Cut-Shortcut Approach to Fast and Precise Pointer Analysis cites Static analysis of Java enterprise applications: frameworks and caches, the elephants in the room
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers6

  1. Two Approaches to Fast Bytecode Frontend for Static AnalysisChenxi Li, Haoran Lin, Tian Tan, Yue LiOOPSLA 2025
  2. JavaScript Pointer Analysis with Adaptive Heap AbstractionWenyuan Xu, Anders MøllerFSE 2026
  3. Heap-Snapshot Matching and Ordering using CAHPs: A Context-Augmented Heap-Path Representation for Exact and Partial Path Matching using Prefix TreesMatteo Basso, Aleksandar Prokopec, Andrea Rosà, Walter BinderOOPSLA 2025
  4. Heap Abstraction via Early-Confluent Object Merging for Pointer AnalysisJinpeng Wang, Yufei Liang, Zhongsheng Zhan, Tian Tan et al.OOPSLA 2026
  5. Universal Scalability in Declarative Program Analysis (with Choice-Based Combination Pruning)Anastasios Antoniadis, Ilias Tsatiris, Neville Grech, Yannis SmaragdakisOOPSLA 2025

Builds on5

  1. Static analysis of Java enterprise applications: frameworks and caches, the elephants in the roomAnastasios Antoniadis, Nikos Filippakis, Paddy Krishnan, Raghavendra Ramesh et al.PLDI 2020 · 41 citations
  2. Context Sensitivity without Contexts: A Cut-Shortcut Approach to Fast and Precise Pointer AnalysisWenjie Ma, Shengyuan Yang, Tian Tan, Xiaoxing Ma et al.PLDI 2023 · 29 citations
  3. Tai-e: A Developer-Friendly Static Analysis Framework for Java by Harnessing the Good Designs of ClassicsTian Tan, Yue LiISSTA 2023 · 26 citations
  4. Compacting points-to sets through object clusteringMohamad Barbar, Yulei SuiOOPSLA 2021 · 15 citations
  5. A Container-Usage-Pattern-Based Context Debloating Approach for Object-Sensitive Pointer AnalysisDongjie He, Yujiang Gui, Wei Li, Yonggang Tao et al.OOPSLA 2023 · 9 citations

Related papers

  1. Hybrid Inlining: A Framework for Compositional and Context-Sensitive Static AnalysisJiangchao Liu, Jierui Liu, Peng Di, Diyu Wu et al.ISSTA 2023 · 3 citations
  2. The ART of Sharing Points-to Analysis: Reusing Points-to Analysis Results Safely and EfficientlyShashin Halalingaiah, Vijay Sundaresan, Daryl Maier, V. Krishna NandivadaOOPSLA 2024 · 2 citations
  3. Generic sensitivity: customizing context-sensitive pointer analysis for genericsHaofeng Li, Jie Lu, Haining Meng, Liqing Cao et al.FSE 2022 · 6 citations
  4. Taking Out the Toxic Trash: Recovering Precision in Mixed Flow-Sensitive Static AnalysesFabian Stemmler, Michael Schwarz, Julian Erhard, Sarah Tilscher et al.PLDI 2025 · 3 citations
  5. SHARP: fast incremental context-sensitive pointer analysis for JavaBozhen Liu, Jeff HuangOOPSLA 2022 · 21 citations
Dusk over the sea between two cliffs drawn in fine vertical lines