索引上下文相关的可达性
Indexing Context-Sensitive Reachability
摘要:
许多上下文敏感的数据流分析可以被公式化为全对Dyck-CFL可达性问题的变体,其通常具有次立方时间复杂度和二次空间复杂度。如此高的复杂性极大地限制了上下文敏感的数据流分析的可扩展性,并且对于分析大规模软件来说是负担不起的。本文提出了\textsc{Flare},从CFL的可达性问题的上下文敏感的数据流分析的传统图可达性问题的减少。这种减少使我们能够受益于可达性索引方案的最新进展,这些方案通常在几乎恒定的时间内消耗几乎线性的空间来回答可达性查询。我们已经将我们的约简应用于C/C++程序的上下文敏感别名分析和上下文敏感敏感信息流分析。在标准基准测试和开源软件上的实验结果表明,我们可以在仅占用适度空间的情况下实现数量级的加速比。我们的方法的实施是公开的。
英文摘要:
Many context-sensitive data flow analyses can be formulated as a variant of the all-pairs Dyck-CFL reachability problem, which, in general, is of sub-cubic time complexity and quadratic space complexity. Such high complexity significantly limits the scalability of context-sensitive data flow analysis and is not affordable for analyzing large-scale software. This paper presents \textsc{Flare}, a reduction from the CFL reachability problem to the conventional graph reachability problem for context-sensitive data flow analysis. This reduction allows us to benefit from recent advances in reachability indexing schemes, which often consume almost linear space for answering reachability queries in almost constant time. We have applied our reduction to a context-sensitive alias analysis and a context-sensitive information-flow analysis for C/C++ programs. Experimental results on standard benchmarks and open-source software demonstrate that we can achieve orders of magnitude speedup at the cost of only moderate space to store the indexes. The implementation of our approach is publicly available.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。