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

事件驱动的无终止模型检验应用的状态动态偏序约简

Stateful Dynamic Partial Order Reduction for Model Checking Event-Driven Applications that Do Not Terminate

Rahmadi Trimananda, Weiyu Luo, Brian Demsky, Guoqing Harry Xu

摘要:

事件驱动架构广泛用于必须响应真实世界中的事件的系统。事件驱动的应用程序容易出现并发错误,这些错误涉及在推理事件顺序时的细微错误。不幸的是,在这些系统上使用现有的模型检查技术存在一些挑战。事件驱动的应用程序经常无限循环,因此对无状态模型检验技术提出了挑战。另一方面,部署纯状态模型检验可以探索大量等效执行。在这项工作中,我们探索了一种新的技术,结合动态偏序约简与状态模型检验,以支持非终止的应用程序。我们的工作是(1)第一个动态部分降阶算法的状态模型检验,这是健全的非终止的应用程序和(2)第一个动态部分约简算法的状态模型检验的事件驱动的应用程序。我们使用IoTCheck数据集进行了实验:一项关于灵巧家庭应用对交互的研究。该数据集由来自198个真实世界的灵巧家庭应用程序的应用程序对组成。总的来说,我们的DPOR算法成功地减少了应用程序对的搜索空间,使69对没有完成DPOR的应用程序能够完成,并提供了7倍的平均加速。

英文摘要:

Event-driven architectures are broadly used for systems that must respond to events in the real world. Event-driven applications are prone to concurrency bugs that involve subtle errors in reasoning about the ordering of events. Unfortunately, there are several challenges in using existing model-checking techniques on these systems. Event-driven applications often loop indefinitely and thus pose a challenge for stateless model checking techniques. On the other hand, deploying purely stateful model checking can explore large sets of equivalent executions. In this work, we explore a new technique that combines dynamic partial order reduction with stateful model checking to support non-terminating applications. Our work is (1) the first dynamic partial order reduction algorithm for stateful model checking that is sound for non-terminating applications and (2) the first dynamic partial reduction algorithm for stateful model checking of event-driven applications. We experimented with the IoTCheck dataset: a study of interactions in smart home app pairs. This dataset consists of app pairs originated from 198 real-world smart home apps. Overall, our DPOR algorithm successfully reduced the search space for the app pairs, enabling 69 pairs of apps that did not finish without DPOR to finish and providing a 7X average speedup.

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

↑