arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2403.13457cs.SCcs.LO
收藏

OSVAuto: 操作系统验证中函数规范的自动证明

OSVAuto: automatic proofs about functional specifications in OS verification

Yulun Wu, Bican Xia, Jiale Xu, Bohua Zhan, Tianqi Zhao

AI总结:

本研究提出OSVAuto工具,通过编码OS常见数据类型命题为SMT形式并扩展序列量词实例化方法,实现uC-OS/II内核验证中大量函数规范证明义务的自动求解,降低证明工作量。

摘要:

我们提出OSVAuto,用于操作系统内核验证中常见函数规范的自动证明。OSVAuto背后的算法设计为原生支持操作系统验证中常见的数据类型,包括序列、映射、结构体和枚举类型。关于这些数据的命题被编码为适合SMT(可满足性模理论)求解的形式。对于量词实例化,我们对近期关于序列自动证明的工作进行了扩展。我们在从Coq中现有的uC-OS/II内核验证改编而来的证明义务上评估了该算法,结果表明大量证明义务可被自动求解,显著降低了函数层面的证明工作量。

英文摘要:

We present OSVAuto for automatic proofs about functional specifications that commonly arise when verifying operating system kernels. The algorithm behind OSVAuto is designed to support natively those data types that commonly occur in OS verification, including sequences, maps, structures and enumerations. Propositions about these data are encoded into a form that is suitable for SMT solving. For quantifier instantiation, we propose an extension of recent work for automatic proofs about sequences. We evaluate the algorithm on proof obligations adapted from existing verification of the uC-OS/II kernel in Coq, demonstrating that a large number of proof obligations can be solved automatically, significantly reducing the proof effort on the functional side.

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

↑