首页> 外文会议>Annual IEEE/IFIP International Conference on Dependable Systems and Networks >Hector: Detecting Resource-Release Omission Faults in error-handling code for systems software
【24h】

Hector: Detecting Resource-Release Omission Faults in error-handling code for systems software

机译:Hector:在系统软件的错误处理代码中检测资源释放遗漏错误

获取原文

摘要

Omitting resource-release operations in systems error handling code can lead to memory leaks, crashes, and deadlocks. Finding omission faults is challenging due to the difficulty of reproducing system errors, the diversity of system resources, and the lack of appropriate abstractions in the C language. To address these issues, numerous approaches have been proposed that globally scan a code base for common resource-release operations. Such macroscopic approaches are notorious for their many false positives, while also leaving many faults undetected. We propose a novel microscopic approach to finding resource-release omission faults in systems software. Rather than generalizing from the entire source code, our approach focuses on the error-handling code of each function. Using our tool, Hector, we have found over 370 faults in six systems software projects, including Linux, with a 23% false positive rate. Some of these faults allow an unprivileged malicious user to crash the entire system.
机译:在系统错误处理代码中省略资源释放操作可能导致内存泄漏,崩溃和死锁。由于重现系统错误,系统资源的多样性以及C语言缺乏适当的抽象,发现遗漏故障具有挑战性。为了解决这些问题,已经提出了许多方法来全局扫描代码库以进行常见的资源释放操作。这样的宏观方法因其许多误报而臭名昭著,同时也遗漏了许多错误。我们提出了一种新颖的微观方法来查找系统软件中的资源释放遗漏故障。我们的方法不是从整个源代码进行概括,而是将重点放在每个函数的错误处理代码上。使用我们的工具Hector,我们在包括Linux在内的六个系统软件项目中发现了370多个错误,错误率高达23%。这些故障中的一些允许无特权的恶意用户崩溃整个系统。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号