首页> 外文会议>2014 IEEE 38th Annual International Computers, Software and Applications Conference >PF-Miner: A New Paired Functions Mining Method for Android Kernel in Error Paths
【24h】

PF-Miner: A New Paired Functions Mining Method for Android Kernel in Error Paths

机译:PF-Miner:错误路径下Android内核的成对函数挖掘新方法

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

摘要

Drivers are significant components of the operating systems(OSs), and they run in kernel mode. Generally, drivers have many errors to handle, and the functions called in the normal execution paths and error handling paths are in pairs, which are named as paired functions. However, some developers do not handle the errors completely as they forget about or are unaware of releasing the acquired resources, thus memory leaks and other potential problems can be easily introduced. Therefore, it is highly valuable to automatically extract paired functions for these problems and detect violations for the programmers. This paper proposes an efficient tool named PF-Miner, which can automatically extract paired functions and detect violations between normal execution paths and error handling paths from the source code of C program with the data mining and statistical methods. We have evaluated PF-Miner on different versions of Android kernel 2.6.39 and 3.10.0, and 81 bugs reported by PF-Miner in 2.6.39 have been fixed before the latest version 3.10.0. PF-Miner only needs about 150 seconds to analyze the source code of 3.10.0, and 983 violations have been detected from 546 paired functions that have been extracted. We have reported the top 51 violations as potential bugs to the developers, and 15 bugs have been confirmed.
机译:驱动程序是操作系统的重要组成部分,它们以内核模式运行。通常,驱动程序要处理许多错误,在正常执行路径和错误处理路径中调用的函数是成对的,称为成对函数。但是,有些开发人员由于忘记或不知道释放获得的资源而无法完全处理错误,因此很容易引入内存泄漏和其他潜在问题。因此,为这些问题自动提取成对的函数并为程序员检测违规行为非常有价值。本文提出了一种名为PF-Miner的高效工具,该工具可以自动提取配对函数,并使用数据挖掘和统计方法从C程序的源代码中检测正常执行路径和错误处理路径之间的冲突。我们已经在不同版本的Android内核2.6.39和3.10.0上评估了PF-Miner,并且在最新版本3.10.0之前,已修复PF-Miner在2.6.39中报告的81个错误。 PF-Miner仅需要大约150秒的时间即可分析3.10.0的源代码,并且从546个配对函数中检测到983个违规。我们已将最常见的51个违规报告为开发人员的潜在错误,并确认了15个错误。

著录项

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号