首页> 外文期刊>Operating systems review >MUVI: Automatically Inferring Multi-Variable Access Correlations and Detecting Related Semantic and Concurrency Bugs
【24h】

MUVI: Automatically Inferring Multi-Variable Access Correlations and Detecting Related Semantic and Concurrency Bugs

机译:MUVI:自动推断多变量访问关联并检测相关的语义和并发错误

获取原文
获取原文并翻译 | 示例
获取外文期刊封面目录资料

摘要

Software defects significantly reduce system dependability. Among various types of software bugs, semantic and concurrency bugs are two of the most difficult to detect. This paper proposes a novel method, called MUVI, that detects an important class of semantic and concurrency bugs. MUVI automatically infers commonly existing multi-variable access correlations through code analysis and then detects two types of related bugs: (1) inconsistent updates—correlated variables are not updated in a consistent way, and (2) multi-variable concurrency bugs—correlated accesses are not protected in the same atomic sections in concurrent programs. We evaluate MUVI on four large applications: Linux, Mozilla, MySQL, and PostgreSQL. MUVI automatically infers more than 6000 variable access correlations with high accuracy (83%). Based on the inferred correlations, MUVI detects 39 new inconsistent update semantic bugs from the latest versions of these applications, with 17 of them recently confirmed by the developers based on our reports. We also implemented MUVI multi-variable extensions to two representative data race bug detection methods (lock-set and happens-before). Our evaluation on five real-world multi-variable concurrency bugs from Mozilla and MySQL shows that the MUVI-extension correctly identifies the root causes of four out of the five multi-variable concurrency bugs with 14% additional overhead on average. Interestingly, MUVI also helps detect four new multi-variable concurrency bugs in Mozilla that have never been reported before. None of the nine bugs can be identified correctly by the original race detectors without our MUVI extensions.
机译:软件缺陷会大大降低系统可靠性。在各种类型的软件错误中,语义和并发错误是最难检测到的两个。本文提出了一种称为MUVI的新方法,该方法可检测一类重要的语义和并发错误。 MUVI通过代码分析自动推断出普遍存在的多变量访问相关性,然后检测两种类型的相关错误:(1)不一致的更新-相关变量未以一致的方式更新;以及(2)多变量并发错误-相关访问在并发程序的同一原子部分中不受保护。我们在四个大型应用程序上评估MUVI:Linux,Mozilla,MySQL和PostgreSQL。 MUVI会自动以高精度(83%)推断出6000多种变量访问相关性。根据推断的相关性,MUVI从这些应用程序的最新版本中检测到39个新的不一致的更新语义错误,开发人员最近根据我们的报告确认了其中的17个。我们还实现了MUVI多变量扩展,扩展了两种代表性的数据竞速错误检测方法(锁定集和事前发生)。我们对来自Mozilla和MySQL的五个现实世界多变量并发错误的评估表明,MUVI扩展正确地识别了五个多变量并发错误中的四个的根本原因,平均额外开销为14%。有趣的是,MUVI还可以帮助检测Mozilla中从未有过的四个新的多变量并发错误。没有我们的MUVI扩展,原始的种族探测器无法正确识别这9个错误。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号