Lune

ASE2023顶会

Two Birds with One Stone: Multi-Derivation for Fast Context-Free Language Reachability Analysis

Chenghang Shi, Haofeng Li, Yulei Sui, Jie Lu, Lian Li, Jingling Xue

摘要

Context-free language (CFL) reachability is a fundamental framework for formulating program analyses. CFL-reachability analysis works on top of an edge-labeled graph by deriving reachability relations and adding them as labeled edges to the graph. Existing CFL-reachability algorithms typically adopt a single-reachability relation derivation (SRD) strategy, i.e., one reachability relation is derived at a time. Unfortunately, this strategy can lead to redundancy, hindering the efficiency of the analysis. To address this problem, this paper proposes Pearl, a multi-derivation approach that reduces derivation redundancy for transitive relations that frequently arise when solving reachability relations, significantly improving the efficiency of CFL-reachability analysis. Our key insight is that multiple edges involving transitivity can be simultaneously derived via batch propagation of reachability relations on the transitivity-aware subgraphs that are induced from the original edge-labeled graph. We evaluate the performance of Pearl on two clients, i.e., context-sensitive value-flow analysis and field-sensitive alias analysis for C/C++. By eliminating a large amount of redundancy, Pearl achieves average speedups of 82.73x for value-flow analysis and 155.26x for alias analysis over the standard CFL-reachability algorithm. The comparison with Pocr, a state-of-the-art CFL-reachability solver, shows that Pearl runs 10.1x (up to 29.2x) and 2.37x (up to 4.22x) faster on average respectively for value-flow analysis and alias analysis with less consumed memory.

问 Lune

几分钟读透这篇 Paper,不用再花一下午。

Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。

已有 3 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。

可以从这些问题问起

Lune 可以查阅

全文 · 引用它的顶会 Paper · 相关的 Paper

获取答案

免费开始,无需绑卡

脉络

  • Boosting the Performance of Alias-Aware IFDS Analysis with CFL-Based Environment Transformers 引用了 Efficient algorithms for dynamic bidirected Dyck-reachability
  • Boosting the Performance of Alias-Aware IFDS Analysis with CFL-Based Environment Transformers 引用了 Fast graph simplification for interleaved Dyck-reachability
  • Boosting the Performance of Alias-Aware IFDS Analysis with CFL-Based Environment Transformers 引用了 Taming transitive redundancy for context-free language reachability
  • Boosting the Performance of Alias-Aware IFDS Analysis with CFL-Based Environment Transformers 引用了 Sustainable Solving: Reducing The Memory Footprint of IFDS-Based Data Flow Analyses Using Intelligent Garbage Collection
  • Boosting the Performance of Alias-Aware IFDS Analysis with CFL-Based Environment Transformers 引用了 Recursive State Machine Guided Graph Folding for Context-Free Language Reachability
  • Context-Free Language Reachability via Skewed Tabulation 引用了 Fast graph simplification for interleaved Dyck-reachability
  • Context-Free Language Reachability via Skewed Tabulation 引用了 Taming transitive redundancy for context-free language reachability
  • ZIPPER: Static Taint Analysis for PHP Applications with Precision and Efficiency 引用了 Boosting the Performance of Alias-Aware IFDS Analysis with CFL-Based Environment Transformers
  • ZIPPER: Static Taint Analysis for PHP Applications with Precision and Efficiency 引用了 Sustainable Solving: Reducing The Memory Footprint of IFDS-Based Data Flow Analyses Using Intelligent Garbage Collection
  • Efficient algorithms for dynamic bidirected Dyck-reachability 引用了 Fast graph simplification for interleaved Dyck-reachability
  • Taming transitive redundancy for context-free language reachability 引用了 Fast graph simplification for interleaved Dyck-reachability
  • Recursive State Machine Guided Graph Folding for Context-Free Language Reachability 引用了 Fast graph simplification for interleaved Dyck-reachability
  • Recursive State Machine Guided Graph Folding for Context-Free Language Reachability 引用了 Taming transitive redundancy for context-free language reachability
它引用的引用它的从左到右按年份排列,引用越多,位置越高。

引用它的顶会 Paper3

  1. Boosting the Performance of Alias-Aware IFDS Analysis with CFL-Based Environment TransformersHaofeng Li, Chenghang Shi, Jie Lu, Lian Li 等OOPSLA 2024 · 6 次引用
  2. Context-Free Language Reachability via Skewed TabulationYuxiang Lei, Camille Bossut, Yulei Sui, Qirun ZhangPLDI 2024 · 5 次引用
  3. ZIPPER: Static Taint Analysis for PHP Applications with Precision and EfficiencyXinyi Wang, Yeting Li, Jie Lu, Shizhe Cui 等USENIX Security 2025

它引用的 Paper5

  1. Fast graph simplification for interleaved Dyck-reachabilityYuanbo Li, Qirun Zhang, Thomas W. RepsPLDI 2020 · 30 次引用
  2. Taming transitive redundancy for context-free language reachabilityYuxiang Lei, Yulei Sui, Shuo Ding, Qirun ZhangOOPSLA 2022 · 16 次引用
  3. Recursive State Machine Guided Graph Folding for Context-Free Language ReachabilityYuxiang Lei, Yulei Sui, Shin Hwei Tan, Qirun ZhangPLDI 2023 · 15 次引用
  4. Sustainable Solving: Reducing The Memory Footprint of IFDS-Based Data Flow Analyses Using Intelligent Garbage CollectionSteven ArztICSE 2021 · 9 次引用
  5. Efficient algorithms for dynamic bidirected Dyck-reachabilityYuanbo Li, Kris Satya, Qirun ZhangPOPL 2022 · 8 次引用

相关 Paper

  1. Better Not Together: Staged Solving for Context-Free Language ReachabilityChenghang Shi, Haofeng Li, Jie Lu, Lian LiISSTA 2024 · 2 次引用
  2. Context-Free Language Reachability via Efficient Relation ChainingChenghang Shi, Haofeng Li, Jie Lu, Lian LiOOPSLA 2026
  3. Iterative-Epoch Online Cycle Elimination for Context-Free Language ReachabilityPei Xu, Yuxiang Lei, Yulei Sui, Jingling XueOOPSLA 2024 · 3 次引用
  4. Indexing the extended Dyck-CFL reachability for context-sensitive program analysisQingkai Shi, Yongchao Wang, Peisen Yao, Charles ZhangOOPSLA 2022 · 11 次引用
  5. No Shot in the Dark: Efficient Context-Free Language Reachability via Context-Aware TabulationChenghang Shi, Lian LiICSE 2026
黄昏的海面,两侧是细线勾勒的悬崖