arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2311.03585cs.CRcs.LOcs.OS
收藏

基于SeL4的OpenBSD驱动程序形式化验证

OpenBSD formal driver verification with SeL4

Adriana Nicolae, Paul Irofti, Ioana Leustean

AI总结:

针对操作系统设备驱动的安全验证需求,本文基于seL4微内核验证所用的Isabelle定理证明器,借助C-to-Isabelle Parser与AutoCorres工具自动转换C代码,对OpenBSD设备驱动进行行为建模与形式化一致性证明。

摘要:

seL4微内核是目前唯一经过完整形式化验证的内核。总体而言,由于内核在整个操作系统中的重要作用,人们对确保内核代码安全性的兴趣日益浓厚。操作系统的基本功能之一是对设备处理过程进行抽象,这种抽象由设备驱动程序——即管理硬件的软件——来实现。对该软件组件进行恰当的验证,能够确保除非出现硬件故障,否则设备将正常运行。本文中,我们选择对设备驱动程序的行为建模,并构建证明以验证代码实现与预期行为相符。该证明在Isabelle/HOL中编写,从C语言到Isabelle的代码转换通过C-to-Isabelle Parser和AutoCorres工具自动完成。我们选择Isabelle定理证明器,是因为其效率已通过seL4微内核的验证得到证实。

英文摘要:

The seL4 microkernel is currently the only kernel that has been fully formally verified. In general, the increased interest in ensuring the security of a kernel's code results from its important role in the entire operating system. One of the basic features of an operating system is that it abstracts the handling of devices. This abstraction is represented by device drivers - the software that manages the hardware. A proper verification of the software component could ensure that the device would work properly unless there is a hardware failure.In this paper, we choose to model the behavior of a device driver and build the proof that the code implementation matches the expected behavior. The proof was written in Isabelle/HOL, the code translation from C to Isabelle was done automatically by the use of the C-to-Isabelle Parser and AutoCorres tools. We choose Isabelle theorem prover because its efficiency was already shown through the verification of seL4 microkernel.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑