期刊文献+

L4虚拟内存子系统的形式化验证 被引量:1

Formal Verification of Virtual Memory Subsystem in L4
下载PDF
导出
摘要 第二代微内核L4在灵活度和性能方面极大地弥补了第一代微内核的不足,这引起学术界和工业界的关注.内核是实现操作系统的基础组件,一旦出现错误,可能导致整个系统瘫痪,进一步对用户造成损失.因此,提高内核的正确性和可靠性至关重要.虚拟内存子系统是实现L4内核的关键机制,聚焦于对该机制进行形式建模和验证.构建了L4虚拟内存子系统的形式模型,该模型涉及映射机制所有操作、地址空间所有管理操作以及带TLB的MMU行为等;形式化了功能正确性、功能安全和信息安全三方面的属性;通过部分正确性、不变式以及展开条件的推理,在定理证明器Isabelle/HOL中证明了提出的形式模型满足这些属性.在建模和验证过程中,发现源代码在功能正确性和信息安全方面共存在3点问题,给出了相应的解决方案或建议. L4,the second-generation of microkernel,greatly compensates for the shortcomings of the first-generation of microkernel in flexibility and performance,which has attracted the attention of academia and industry.The kernel is the basic component for implementing the operating system.Once it has errors,it may cause the breakdown of whole system,further causing losses to users.Therefore,it is very important to improve the correctness and reliability of the kernel.Virtual memory subsystem is a key mechanism to implement L4 kernel.This study focuses on the formal modeling and verification of this mechanism.A formal model is presented,which involves all operations of mapping mechanism,all management operations of address space,and MMU behavior with TLB.The properties of functional correctness,safety,and security are formalized.Through reasoning about partial correctness,invariants and unwinding conditions,it is shown that the proposed model satisfies these properties in the theorem prover Isabelle/HOL.During modeling and verification,three problems are found related to functional correctness and security in source code.The corresponding solutions or suggestions are given in this study as well.
作者 章乐平 赵永望 王布阳 李悦欣 冯潇潇 ZHANG Le-Ping;ZHAO Yong-Wang;WANG Bu-Yang;LI Yue-Xin;FENG Xiao-Xiao(School of Computer Science and Engineering,Beihang University,Beijing 100191,China;School of Cyber Science and Technology,Zhejiang University,Hangzhou 310007,China;Zhejiang Engineering Research Center of Mobile Terminal Security Technology,Zhejiang University,Hangzhou 310007,China)
出处 《软件学报》 EI CSCD 北大核心 2023年第8期3527-3548,共22页 Journal of Software
基金 国家自然科学基金(62132014) 浙江省尖兵计划(2022C01045)。
关键词 L4 形式化验证 内存管理 映射 信息流安全 Isabelle/HOL L4 formal verification memory management mapping information flow security Isabelle/HOL
  • 相关文献

同被引文献17

引证文献1

相关作者

内容加载中请稍等...

相关机构

内容加载中请稍等...

相关主题

内容加载中请稍等...

浏览历史

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