Symbolic Execution of Virtual Devices

Kai Cong, Fei Xie, Li Lei
{"title":"Symbolic Execution of Virtual Devices","authors":"Kai Cong, Fei Xie, Li Lei","doi":"10.1109/QSIC.2013.44","DOIUrl":null,"url":null,"abstract":"Device drivers are a principal source of failures in computer systems. Therefore, improving driver reliability greatly improves overall system reliability. However, driver development largely has to wait until a first stable version of the device becomes available. This dependency often leaves not enough time for driver validation. Recently, virtual machines and virtual devices have found their way into early driver development and validation. Virtual devices enable driver development even before real devices become available and bring complete observability and trace ability that evade real devices. We present an approach to static analysis of virtual devices which is central to achieving observability and traceability. This approach exercises the device model of a virtual device by symbolic execution. Based on the result of symbolic execution, a concrete test case is generated for each path through the device model, which has been exercised. We have applied this approach to virtual devices of five network adapters. The results show that this approach is feasible, efficient, and useful.","PeriodicalId":404921,"journal":{"name":"2013 13th International Conference on Quality Software","volume":"296 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2013-07-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"28","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2013 13th International Conference on Quality Software","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/QSIC.2013.44","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 28

Abstract

Device drivers are a principal source of failures in computer systems. Therefore, improving driver reliability greatly improves overall system reliability. However, driver development largely has to wait until a first stable version of the device becomes available. This dependency often leaves not enough time for driver validation. Recently, virtual machines and virtual devices have found their way into early driver development and validation. Virtual devices enable driver development even before real devices become available and bring complete observability and trace ability that evade real devices. We present an approach to static analysis of virtual devices which is central to achieving observability and traceability. This approach exercises the device model of a virtual device by symbolic execution. Based on the result of symbolic execution, a concrete test case is generated for each path through the device model, which has been exercised. We have applied this approach to virtual devices of five network adapters. The results show that this approach is feasible, efficient, and useful.
虚拟设备的符号执行
设备驱动程序是计算机系统故障的主要来源。因此,提高驱动可靠性将大大提高整个系统的可靠性。然而,驱动程序的开发在很大程度上必须等到设备的第一个稳定版本可用。这种依赖关系通常没有足够的时间进行驱动程序验证。最近,虚拟机和虚拟设备已经进入了早期驱动程序的开发和验证。虚拟设备甚至在真实设备可用之前就可以进行驱动程序开发,并带来完全的可观察性和跟踪能力,从而避开真实设备。我们提出了一种对虚拟设备进行静态分析的方法,这是实现可观察性和可追溯性的核心。这种方法通过符号执行来练习虚拟设备的设备模型。根据符号化执行的结果,对通过设备模型的每条路径生成一个具体的测试用例。我们已经将这种方法应用于五种网络适配器的虚拟设备。结果表明,该方法是可行、高效、实用的。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信