English

Scaling Inter-procedural Dataflow Analysis on the Cloud

Programming Languages 2024-12-18 v1 Operating Systems Software Engineering

Abstract

Apart from forming the backbone of compiler optimization, static dataflow analysis has been widely applied in a vast variety of applications, such as bug detection, privacy analysis, program comprehension, etc. Despite its importance, performing interprocedural dataflow analysis on large-scale programs is well known to be challenging. In this paper, we propose a novel distributed analysis framework supporting the general interprocedural dataflow analysis. Inspired by large-scale graph processing, we devise dedicated distributed worklist algorithms for both whole-program analysis and incremental analysis. We implement these algorithms and develop a distributed framework called BigDataflow running on a large-scale cluster. The experimental results validate the promising performance of BigDataflow -- BigDataflow can finish analyzing the program of millions lines of code in minutes. Compared with the state-of-the-art, BigDataflow achieves much more analysis efficiency.

Keywords

Cite

@article{arxiv.2412.12579,
  title  = {Scaling Inter-procedural Dataflow Analysis on the Cloud},
  author = {Zewen Sun and Yujin Zhang and Duanchen Xu and Yiyu Zhang and Yun Qi and Yueyang Wang and Yi Li and Zhaokang Wang and Yue Li and Xuandong Li and Zhiqiang Zuo and Qingda Lu and Wenwen Peng and Shengjian Guo},
  journal= {arXiv preprint arXiv:2412.12579},
  year   = {2024}
}
R2 v1 2026-06-28T20:38:19.204Z