首页> 外文会议>Annual ACM SIGPLAN-SIGACT symposium on principles of programming languages >Complexity of Pattern-based Verification for Multithreaded Programs
【24h】

Complexity of Pattern-based Verification for Multithreaded Programs

机译:多线程程序基于模式的验证复杂性

获取原文

摘要

Pattern-based verification checks the correctness of the program executions that follow a given pattern, a regular expression over the alphabet of program transitions of the form w_1~*,.w_n~*. For multithreaded programs, the alphabet of the pattern is given by the synchronization operations between threads. We study the complexity of pattern-based verification for obstructed multithreaded programs in which, as usual in program analysis, conditions have been replaced by nondeterminism (the technique works also for boolean programs). While unrestricted verification is undecidable for abstracted multithreaded programs with recursive procedures and PSPACE-complete for abstracted multithreaded while-programs, we show that pattern-based verification is NP-complete for both classes. We then conduct a multiparameter analysis in which we study the complexity in the number of threads, the number of procedures per thread, the size of the procedures, and the size of the pattern. We first show that no algorithm for pattern-based verification can be polynomial in the number of threads, procedures per thread, or the size of the pattern (unless P=NP). Then, using recent results about Parikh images of regular languages and semilinear sets, we present an algorithm exponential in the number of threads, procedures per thread, and size of the pattern, but polynomial in the size of the procedures.
机译:基于模式的验证检查遵循给定模式的程序执行的正确性,正常表达式W_1〜*的程序转换的字母表中的正则表达式。W_N〜*。对于多线程程序,模式的字母表由线程之间的同步操作给出。我们研究了基于模式的验证对阻碍多线程程序的复杂性,在其中,通常在方案分析中,条件已被非季度取代(该技术也适用于布尔计划)。虽然无限制的验证对于带有递归程序和PSPace-Complete的抽象多线程程序,但为抽象多线程进行抽象的多线程,我们显示基于模式的验证是两个类的NP-Complete。然后,我们进行多次计分析,其中我们研究了线程数量的复杂性,每个线程的程序数量,程序的大小以及模式的大小。首先表明,没有基于模式的验证算法可以是多项式的线程数,每个线程的过程,或模式的大小(除非P = NP)。然后,使用最近的关于常规语言和半线性集的Parikh图像的结果,我们在线程数量,每个线程的过程中呈现了一个算法指数,以及模式的大小,但多项式在程序的大小。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号