kirancodes.me
To Proof Maintenance & Beyond!

Pipelining bottom-up data flow analysis

Qingkai Shi, Charles Zhang

Abstract

Bottom-up program analysis has been traditionally easy to parallelize because functions without caller-callee relations can be analyzed independently. However, such function-level parallelism is significantly limited by the calling dependence - functions with caller-callee relations have to be analyzed sequentially because the analysis of a function depends on the analysis results, a.k.a., function summaries, of its callees. We observe that the calling dependence can be relaxed in many cases and, as a result, the parallelism can be improved. In this paper, we present Coyote, a framework of bottom-up data flow analysis, in which the analysis task of each function is elaborately partitioned into multiple sub-tasks to generate pipelineable function summaries. These sub-tasks are pipelined and run in parallel, even though the calling dependence exists. We formalize our idea under the IFDS/IDE framework and have implemented an application to checking null-dereference bugs and taint issues in C/C++ programs. We evaluate Coyote on a series of standard benchmark programs and open-source software systems, which demonstrates significant speedup over a conventional parallel design.

BibTeX
@inproceedings{Shi-Zhang:ICSE20,
  author    = {Qingkai Shi and
               Charles Zhang},
  title     = {Pipelining bottom-up data flow analysis},
  booktitle = {ICSE},
  pages     = {835--847},
  publisher = {{ACM}},
  year      = {2020},
}

Related papers