期刊文献+

面向硬件瞬时故障的Linux设备驱动敏感代码的自动分析与检测 被引量:5

Automatic Analysis and Detection of Sensitive Codes Relating to Transient Hardware-faults for Linux Drivers
下载PDF
导出
摘要 操作系统是整个计算机系统的核心,而设备驱动程序则占据操作系统内核的相当份额并对系统安全产生举足轻重的作用。作为主机与外围设备之间通信控制的桥梁,设备驱动无疑会受到硬件设备故障的直接影响。在Linux系统中,驱动程序问题是造成系统安全的主要根源之一。特别地,由于设备驱动代码的编写往往没有考虑到硬件设备的瞬时故障,所以当硬件设备发生瞬时差错的时候,就有可能导致相应驱动程序甚至整个系统出现不可预料的后果。本文主要讨论了面向硬件瞬时故障的驱动程序敏感代码的自动分析方法,并设计和实现了对应的代码分析工具原型。运用该工具原型对Linux内核设备驱动源码的实验分析结果表明,该方法和原型可以发现设备驱动中潜在的受到硬件设备瞬时故障影响的敏感代码。据此,采用适当方法对敏感代码进行修复完善,将可以实现设备驱动程序的安全加固。 The operating system is the core of the whole computer system,while the device drivers account for a great proportion of the operating system kernel and thus play a pivotal role for system security.Device drvers are bridges between the main frame and peripheral devices.The failure of the drivers is one of the major causes of system failures for Linux..Furthermore,the transient faults of the hardware devices are always not taken into account in the design and implementation of drivers.Whenever some transient fault about the hardware devices occurs,it will lead to an unexpected failure of the driver or even crash of the whole system.In this paper,the method for automatic analysis and detection of sensitive codes relating to transient hardware failures for Linux device drivers are discussed and a cor-responding prototype is designed and implemented.Moreover,source codes of drivers for Linux kernel 2.6.18 are ana-lyzed by using the prototype,and many potential sensitive codes associated with the transient hardware faults are found,which can be further used to fix the device drivers and to improve the reliability of the system.In a word,the method and the prototype in this paper are effective and significant.
作者 马培 翟高寿
出处 《软件》 2015年第12期9-15,共7页 Software
基金 中央高校基本科研业务费专项基金资助(课题编号:2009JBM019) 国家留学基金(File No.201307095025)
关键词 设备驱动程序 硬件瞬时故障 敏感代码 LINUX 自动分析 Device drivers Transient hardware-faults Sensitive codes Linux Automatic analysis
  • 相关文献

参考文献18

二级参考文献139

  • 1Ben Leslie,Peter Chubb,Nicholas Fitzroy-Dale,Stefan Gotz,Charles Gray,Luke Macpherson,Daniel Potts,Yue-Ting Shen,Kevin Elphinstone,Gernot Heiser.User-Level Device Drivers: Achieved Performance[J].Journal of Computer Science & Technology,2005,20(5):654-664. 被引量:7
  • 2薛振伟,吴志杰,杨德成.基于模型驱动架构的软件开发模式研究[J].兵工自动化,2007,26(5):92-92. 被引量:5
  • 3SWIFT, M. M. , ANNAMALAI, M. , BERSHAD, B. AND LEVY, H. Recovering Device Drivers. ACM Trans. ComDut. Svst. 2005,12. 被引量:1
  • 4SWIFT, M. M.,MARTIN S.,LEVY H. M., AND EGGERS S. J. Nooks: An Architecture for Reliable Device Drivers [C]. The 10th workshop on Acm SIGOPS European workshop : Beyond the PC, 2002. 被引量:1
  • 5CHOU, A. , YANG, J. , CHEI.P, B. , HALLEM, S. , AND ENGLER, D. An Empirical Study of Operating Systems Errors[C]. In Proc. of the 18th ACM Symposium on Operating System Principles, 2001,10. 被引量:1
  • 6ENGLER, D. , CHELF, B. , CHOU, A. , AND HALLEM, S. Checking System Rules Using System-Spe cific, Programmer-Written Compiler Extensions [C]. In Proc. OSDI, 2000,9. 被引量:1
  • 7CHIUEH, T. , VENKITACHALAM, G. , PRADHAN,P. Integrating Segmentation and Paging Protection for Safe,Efficient and Transparent Software Extensions[C]. In Proc. 17th SOSP,Kiawah Island Resort, South Carolina, 1999,12. 被引量:1
  • 8WAHBE, R., LUCCO, S., ANDERSON, T., GRAHAM, S. Efficient Software-based Fault Isolation. ACM Operating Systems Review[J]. 1993,27(5) :2003-16. 被引量:1
  • 9CHASE,J. S. ,LEVY, H. M. ,FEELEY, M. J., LAZOWSKA,E. D. 1994 Sharing and protection in a single-address-space operating system [C]. ACM Trams. Comput. Syst. 1994,11:271-307. 被引量:1
  • 10Ostrand T J, Weyuker E J. The Distribution of Faults in a Large Industrial Software System [C]//Proc of the 2002 ACM SIGSOFT Int'l Symp on Software Testing and Analysis, 2002 : 55-64. 被引量:1

共引文献33

同被引文献24

引证文献5

二级引证文献7

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

内容加载中请稍等...
;
使用帮助 返回顶部