arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1709.10116cs.PL
收藏

线程的流敏感组成-模块化抽象解释

Flow-Sensitive Composition of Thread-Modular Abstract Interpretation

Markus Kusano, Chao Wang

摘要:

我们提出了一个基于约束的流敏感的静态分析并发程序通过迭代组成线程模块化的抽象解释器,通过使用一个系统的轻量级约束。我们的方法是组合的,因为它首先将顺序抽象解释器应用于各个线程,然后组合它们的结果。它是流敏感的,因为干扰的因果关系排序(从全局写入到读取的数据流)是由约束系统建模的。这些干扰约束是轻量级的,因为它们只涉及程序语句的执行顺序,而不是它们的数值属性:它们可以使用现成的数据库引擎有效地决定。我们的新方法的优势是更准确的比现有的,流不敏感的,静态分析,同时保持可扩展性,并提供预期的健全性和终止保证,即使是无限数据的程序。我们实现了我们的方法,并在大量的基准测试中进行了评估,证明了它在提高线程模块化抽象解释的准确性方面的有效性。

英文摘要:

We propose a constraint-based flow-sensitive static analysis for concurrent programs by iteratively composing thread-modular abstract interpreters via the use of a system of lightweight constraints. Our method is compositional in that it first applies sequential abstract interpreters to individual threads and then composes their results. It is flow-sensitive in that the causality ordering of interferences (flow of data from global writes to reads) is modeled by a system of constraints. These interference constraints are lightweight since they only refer to the execution order of program statements as opposed to their numerical properties: they can be decided efficiently using an off-the-shelf Datalog engine. Our new method has the advantage of being more accurate than existing, flow-insensitive, static analyzers while remaining scalable and providing the expected soundness and termination guarantees even for programs with unbounded data. We implemented our method and evaluated it on a large number of benchmarks, demonstrating its effectiveness at increasing the accuracy of thread-modular abstract interpretation.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑