首页> 外文学位 >Reachability analysis and testing of asynchronous message-passing programs.
【24h】

Reachability analysis and testing of asynchronous message-passing programs.

机译:异步消息传递程序的可达性分析和测试。

获取原文
获取原文并翻译 | 示例

摘要

An asynchronous message-passing program consists of concurrent processes that interact with each other by the exchange of messages. Many network protocols and distributed applications are asynchronous message-passing programs. This dissertation investigates techniques to ensure correctness of asynchronous message-passing programs.; Reachability analysis has been a successful approach to verifying concurrent programs. Existing reachability analysis techniques for asynchronous message-passing programs assume causal communication, which means that messages sent to a destination are received in the order they are sent. In the first part of this dissertation, we propose a new reachability analysis approach, called blocking-based simultaneous reachability analysis (BSRA), for asynchronous message-passing programs based on any communication scheme. We describe an algorithm for generating BSRA-based reachability graphs and show that this algorithm guarantees the detection of deadlocks. Empirical results indicate that BSRA significantly reduces the number of states in reachability graphs.; The second part of this dissertation deals with a new concept of testing concurrent programs, namely reachability testing. Let P be an asynchronous message-passing program, and X an input of P. Assume that every execution of P with X terminates. Reachability testing of P with X is to execute, in a systematic manner, all possible synchronization sequences (or SYN-sequences) of P with X such that the correctness of P with X can be determined. The main challenge of reachability testing is to derive race variants of SYN-sequences. We develop a formal approach to computing race variants of SYN-sequences consisting of send and receive events. We describe an efficient reachability testing algorithm for asynchronous message-passing programs.; In the third part of this dissertation, we propose a new test generation strategy, called In-Parameter-Order (or IPO), for pairwise testing. Pairwise testing requires that for each pair of input parameters of a system, every combination of valid values of these two parameters be covered by at least one test case. For a system with two or more input parameters, the IPO strategy generates a pairwise test set for the first two parameters, extends the test set to generate a pairwise test set for the first three parameters, and continues to do so for each additional parameter. We present IPO-based test generation algorithms. We describe an IPO-based test generation tool and show some empirical results.
机译:异步消息传递程序由并发进程组成,这些并发进程通过交换消息相互交互。许多网络协议和分布式应用程序都是异步消息传递程序。本文研究了确保异步消息传递程序正确性的技术。可达性分析已成为验证并发程序的成功方法。现有的用于异步消息传递程序的可达性分析技术假定因果通信,这意味着发送到目的地的消息是按照它们的发送顺序接收的。在本文的第一部分,我们提出了一种新的可达性分析方法,称为基于块的同时可达性分析(BSRA),用于基于任何通信方案的异步消息传递程序。我们描述了一种用于生成基于BSRA的可达性图的算法,并表明该算法可确保检测到死锁。实验结果表明,BSRA显着减少了可达性图中的状态数。本文的第二部分讨论了测试并发程序的新概念,即可达性测试。假设 P 是一个异步消息传递程序,而 X P 的输入。假定使用 X P 的每次执行都终止。带有 X P 的可达性测试将以系统方式执行 P 的所有可能的同步序列(或SYN序列)。 italic> X ,从而可以确定 P X 的正确性。可达性测试的主要挑战是推导SYN序列的种族变异。我们开发了一种正式的方法来计算SYN序列的竞赛种族变体,包括发送和接收事件。我们描述了一种用于异步消息传递程序的有效可达性测试算法。在本文的第三部分,我们提出了一种新的测试生成策略,称为成对测试(In-Parameter-Order,IPO)。逐对测试要求对于系统的每对输入参数,这两个参数的有效值的每种组合至少要包含一个测试用例。对于具有两个或多个输入参数的系统,IPO策略为前两个参数生成成对的测试集,扩展测试集以为前三个参数生成成对的测试集,并继续为每个其他参数这样做。我们介绍基于IPO的测试生成算法。我们描述了一种基于IPO的测试生成工具,并显示了一些经验结果。

著录项

  • 作者

    Lei, Yu.;

  • 作者单位

    North Carolina State University.;

  • 授予单位 North Carolina State University.;
  • 学科 Computer Science.
  • 学位 Ph.D.
  • 年度 2002
  • 页码 96 p.
  • 总页数 96
  • 原文格式 PDF
  • 正文语种 eng
  • 中图分类 自动化技术、计算机技术;
  • 关键词

相似文献

  • 外文文献
  • 中文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号