期刊文献+

一种基于属性的操作系统内核自动验证方法

Pragmatic Approach to Automated Verifying Operating System Based on Properties
下载PDF
导出
摘要 传统的模型检测摒除了很多软件实现细节,要检测实际的代码,就需要从代码中直接建立抽象描述.而操作系统内核结构复杂,手动对源代码进行抽象存在建模工作量大、人工参与过多易出错以及属性难以描述和检测等问题.本文以Linux内核作为实验对象,提出了一种基于属性的OS内核自动验证方法,利用模型抽取工具Modex自动的从Linux内核源代码抽取模型,试图保证模型与实现代码一致性的同时减少因人工参与产生的人为错误,然后用时间轴属性来描述属性,最后用模型检测工具Spin对Linux内核代码模型进行检测.实验选取了Linux内核中接口和数据结构相对复杂的调度器进行模型的自动抽取与属性检测,验证了该方法在操作系统内核模型检测中的有效性和实用性. Many software implementation details are discarded in the traditional model checking.Building abstract description from source code is needed if you check the real code.Because of the complexity of operating system,there are many problems to abstract source code manually: such as too much w orkload,human errors and difficulties in property description and checking.In this paper the Linux kernel is made as the experimental subject,and a pragmatic approach to automated verifying OS kernel based on properties is proposed.First use Modex to extract the model from Linux kernel code to guarantee the accordance of the model and implementation code w hile reducing human errors because manual w orkload.Then descript properties w ith time line.Last,use Spin to model checking Linux kernel code model.In the experiment,the scheduler is chosen to automatically extract model and property checking.The implement results show that this approach is effective and pragmatic in model checking OS kernel.
出处 《小型微型计算机系统》 CSCD 北大核心 2013年第7期1537-1542,共6页 Journal of Chinese Computer Systems
基金 中央高校基本科研业务类专项资金(09CX04059A)资助
关键词 操作系统 模型检测 SPIN Modex operating system model checking Spin Modex
  • 相关文献

参考文献14

  • 1Holzmann G J, Ruys T C. Effective bug hunting with spin and mo- dex[ C]. In: Spin,2005,24.
  • 2Holzmann G J, Smith M H. An automated verification method for distributed systems software based on model extraction [ J]. IEEE Transactions on Software Engineering,2002,28 (4) : 364-377.
  • 3Spin homepage [ EB/OL]. URL.. http://spinroot, corn/spin/ whatispin, htm1,2009.
  • 4Modex homepage [ EB/OL ]. URL: http ://era. bell-labs, com/cm/ cs/what/modex, 2009.
  • 5Holzmann G J, Joshi R. Model-driven software verification [ C ]. In Proceedings of Spin'04,2004.
  • 6Gerard J Holzmann, Rajeev Joshi, Alex Groce. Model driven code checking [ J ]. Automated Software Engineering, 2008, 15 ( 3-4 ) : 283-297.
  • 7Chan W, Anderson R J, Beame P, et al. Model checking large soft- ware specifications [ J ]. IEEE Trans. on Software Engineering, 1998,24(7) :498-519.
  • 8Holzmann G J, Smith M H. A practical method for verifying event- driven software[ C ]. In:Proceedings of the 1999 International Con- ference on Software Engineering ,May 1999:597-605.
  • 9Chwarz B ,Hao C ,Wagner D, et al. Model checking an entire linux distribution for security violations [ C ]. 21 st Annual Computer Se- curity Applications Conference ( ACSAC ), Tucson: IEEE, Dec 2005 : 13-22.
  • 10Andy Galloway, Jan Tobias Miihlberg, Radu Siminiceanu, et al. Model-checking part of a linux file system[ C ]. 10th International Conference, VMCAI 2009 ,Proceedings ,2009:74-88.

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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