...
首页> 外文期刊>Operating systems review >Finding Resource-Release Omission Faults in Linux
【24h】

Finding Resource-Release Omission Faults in Linux

机译:在Linux中查找资源释放遗漏故障

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

摘要

The management of the releasing of allocated resources is a continual problem in ensuring the robustness of systems code. Missing resource-releasing operations lead to memory leaks and deadlocks. A number of approaches have been proposed to detect such problems, but they often have a high rate of false positives, or focus only on commonly used functions. In this paper we observe that resource-releasing operations are often found in error-handling code, and that the choice of resource-releasing operation may depend on the context in which it is to be used. We propose an approach to finding resource-release omission faults in C code that takes into account these issues. We use our approach to find over 100 faults in the drivers directory of Linux 2.6.34, with a false positive rate of only 16%, well below the 30% that has been found to be acceptable to developers.
机译:在确保系统代码的鲁棒性方面,分配资源的释放的管理是一个持续的问题。缺少资源释放操作会导致内存泄漏和死锁。已经提出了许多方法来检测这样的问题,但是它们通常具有很高的误报率,或者仅关注常用功能。在本文中,我们观察到资源释放操作经常在错误处理代码中找到,并且资源释放操作的选择可能取决于使用它的上下文。考虑到这些问题,我们提出了一种在C代码中查找资源释放遗漏错误的方法。我们使用我们的方法在Linux 2.6.34的driver目录中查找了100多个错误,错误肯定率仅为16%,远低于开发人员可以接受的30%。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号