通过符号执行和循环加速实现无限线程可达性(技术报告)
Unbounded-Thread Reachability via Symbolic Execution and Loop Acceleration (Technical Report)
摘要:
我们提出了一种方法,以参数化的可达性通信有限状态线程,制定了一个可满足性问题的分析。除了无限数量的线程之外,基于SAT/SMT的可达性方法的主要挑战是线程执行的程序中存在无限循环。在本文中,我们展示了如何简单的循环可以加速近似Presburger算术约束。这些约束是通过符号执行获得的,如果给定的程序状态是可达的,则这些约束是可满足的。我们总结循环嵌套在其他循环使用递归关系从内部循环的加速。该摘要抽象了循环迭代参数,因此可能过于近似。我们的符号方法的一个优点是,建立Presburger公式的过程可以在任何算术运算之前立即揭示它们的不可满足性。我们证明了这种技术的力量,证明和反驳的安全特性的无限线程程序和其他无限状态转换系统。
英文摘要:
We present an approach to parameterized reachability for communicating finite-state threads that formulates the analysis as a satisfiability problem. In addition to the unbounded number of threads, the main challenge for SAT/SMT-based reachability methods is the existence of unbounded loops in the program executed by a thread. We show in this paper how simple loops can be accelerated without approximation into Presburger arithmetic constraints. The constraints are obtained via symbolic execution and are satisfiable exactly if the given program state is reachable. We summarize loops nested inside other loops using recurrence relations derived from the inner loop's acceleration. This summary abstracts the loop iteration parameter and may thus overapproximate. An advantage of our symbolic approach is that the process of building the Presburger formulas may instantly reveal their unsatisfiability, before any arithmetic has been performed. We demonstrate the power of this technique for proving and refuting safety properties of unbounded-thread programs and other infinite-state transition systems.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。