期刊文献+

针对内核扩展函数出错处理的日志自动注入方法

An automatic log injection method handling kernel extension function error
下载PDF
导出
摘要 提出一种日志自动注入的方法,解决驱动程序中的内核扩展函数调用不规范的问题。首先静态扫描源程序,当发现程序中调用了内核扩展函数但没有检测返回值时,则在调用后自动插入对返回值的检测代码,并使得这些函数在执行发生错误时会被日志记录。一旦系统发生崩溃,这些日志信息将成为关键的调试依据。实验结果表明,该方法对系统性能影响很小,且可以帮助调试人员更高效地定位和调试内核模块错误。 An automatic log injection method is proposed to solve the non-standard calling of the kernel extension functions in de-vice driver.Firstly the source code is scanned statically,and checking code is inserted automatically when the return value of the kernel extension function is not checked.At the same time,a log is recorded when these functions return errors.Once the system crashes,these important logs will be the key evidence to debug.The experiment shows that,our method has little influence to the system performance and can help the programmers locate and debug the kernel module error efficiently.
出处 《中国科技论文》 CAS 北大核心 2015年第14期1605-1609,共5页 China Sciencepaper
基金 北京高等教育青年教师基金资助项目(YETP0108)
关键词 内核扩展函数 日志注入 驱动错误 程序检测 kernel extension function log injection driver error program testing
  • 相关文献

参考文献1

二级参考文献24

  • 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
  • 2Ostrand 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
  • 3Ostrand T J,Weyuker E J, Bell R M. Where the Bugs Are [C]//Proc of the 2004 ACM SIGSOFT Int'l Symp on Software Testing and Analysis, 2004 : 86-96. 被引量:1
  • 4Basili V R,Perricone B T. Software Errors and Complexity: An Empirical Investigation[J]. Communication of the ACM, 1984, 21(1):42-52. 被引量:1
  • 5Chou A, Yang J, Chelf B, et al. An Empiraele Study of Operating System Errors[J]. ACM SIGOPS Operating Systems Review, 2001,35(5) :73-88. 被引量:1
  • 6Swift M M, Bershad B N, Levy H M. Improving the Reliability of Commodity Operating Systems[J]. ACM Transa Computer Systems, 2004,22(4): 68-75. 被引量:1
  • 7Herder J N, Bos H, Gras B, et al. Tanenbaum, Construction of a Highly Dependable Operating System[C]//Proc of the 6th European Dependable Computing Conf, 2006:3-12. 被引量:1
  • 8Microsoft Corporation. Windows XP Device Driver Development Kit[EB/OL]. [2007-12-05]. http://support. microsoft. com/ph/7229. 被引量:1
  • 9Swift M, Annamalai M, Bershad B, et al. Recovering Device Drivers[C]//Proc of the 6th Syrup on Operation System Design and Implementation, 2006,24(4):1-15. 被引量:1
  • 10Zhou F, Condit J, Anderson Z, et al. SafeDrive:Safe and Recoverable Extensions Using Language-Based Techniques[C] //Proc of OSDI'06, 2006:4-14. 被引量:1

共引文献8

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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