• 中国计算机学会会刊
  • 中国科技核心期刊
  • 中文核心期刊

计算机工程与科学

• 论文 • 上一篇    下一篇

基于性质制导符号执行的Linux驱动程序缺陷检测研究

陈英杰,陈振邦,董威   

  1. (国防科学技术大学计算机学院,湖南 长沙 410073)
  • 收稿日期:2016-12-11 修回日期:2017-02-17 出版日期:2017-04-25 发布日期:2017-04-25
  • 基金资助:

    国家973计划(2014CB340703);国家自然科学基金(61472440,61632015,61272140)

Property guided symbolic execution
based bug detection of Linux Drivers

CHEN Ying-jie,CHEN Zhen-bang,DONG Wei   

  1. (College of Computer,National University of Defense Technology,Changsha 410073,China)
  • Received:2016-12-11 Revised:2017-02-17 Online:2017-04-25 Published:2017-04-25

摘要:

驱动程序是操作系统的重要组成部分。驱动程序运行于内核态,其可靠性对于操作系统的安全可靠非常关键。针对Linux驱动程序,研究基于符号执行的驱动程序缺陷自动检测方法。提出了基于性质制导符号执行的Linux驱动程序缺陷检测框架,以及多性质制导的符号执行方法,支持针对多个缺陷性质的快速缺陷检测。在LLVM和KLEE的基础上实现了提出的框架和方法,并在实际的Linux驱动程序上开展了初步实验。实验效果表明了所提方法和检测框架的有效性和高效性。

关键词: 驱动程序, 符号执行, 缺陷检测

Abstract:

Device drivers constitute an important part of an operation system (OS). The reliability of device drivers is critical to the security and reliability of OSs. We propose a property guided symbolic execution based framework for the bug detection of Linux device drivers. To analyze multiple properties simultaneously, we propose a  multiple properties guided symbolic execution method. Based on the LLVM and KLEE, the framework and the property guided method are implemented. The results of the preliminary experiments on real world Linux drivers demonstrate the effectiveness and efficiency of the proposal.

Key words: drivers, symbolic execution, defect detection