设备驱动故障注入方法的研究与实现  被引量:1

Study and Implementation of Fault Injection Method for Device Drivers

在线阅读下载全文

作  者:翟高寿[1] 翟瑞霞 刘峰[1] 李红辉[1] ZHAI Gaoshou;ZHAI Ruixia;LIU Feng;LI Honghui(School of Computer and Information Technology,Beijing Jiaotong University,Beijing 100044,China)

机构地区:[1]北京交通大学计算机与信息技术学院

出  处:《信息网络安全》2019年第6期19-27,共9页Netinfo Security

基  金:国家重点研发计划[2016YFF0204002];教育部产学合作协同育人项目[201702025004]

摘  要:文章以Linux设备驱动为研究对象,提出了一种灵活可控的基于加载时函数调用指令检测替换及运行时自动恢复与交互式再触发相结合的故障注入模型,设计并实现了相应的故障注入原型。目标驱动模块的加载监测利用了内核事件通知链机制,故障注入采用了函数调用指令检测替换方法,目标函数集的设置综合运用了Shell程序命令行参数和内核模块加载时参数传入方式,故障再触发机制利用了内核调试伪文件系统。与其他故障注入工具相比,该原型系统存储开销小,灵活性和可用性更佳,能够更加高效地进行健壮性和可靠性的测试验证。In this paper,a flexible and controllable model of fault injection is put forward based on location and replacement of function invocation instructions at the time of module installation and based on automatic recovery and interactive re-triggering at run-time. The corresponding prototype is designed and implemented where notifier chain is used for monitoring the installation of target modules,command line arguments of Shell programs and module parameters are used comprehensively for the configuration of target functions of fault injection,and debugfs is exploited for triggering fault again. Compared with other fault injection tools,our prototype has more flexible and more controllable features in routines of triggering faults of multiple kernel functions so that robustness and dependability of kernel modules such as device drivers can be verified more effectively.

关 键 词:内核安全 设备驱动 故障注入 事件通知链 内核调试伪文件系统 

分 类 号:TP309[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象