arrow
返回

Automatic kernel code synthesis and verification

delete2020-04-01
delete2
PRE
AI
Q
Qiang Zhang *
Q
Qingyang Meng
Y
Yu Chen
DOI:10.1016/j.cose.2020.101733delete
delete原文链接
delete原文求助
delete分享
delete收藏
摘要

摘要

En 中文
Formal verification of an OS kernel is widely considered a major challenge; however, traditional interactive theorem provers used in OS kernel verification require manually written proofs and come with a non-trivial cost. In this paper, we propose a formal verification framework to build a verifiably correct OS kernel, named iv6, with a high degree of proof automation and a low burden of proof. Using this framework, programmers only need to write the specification as required, and it can be translated into the corresponding implementation of C code automatically. The verification framework can guarantee that the behaviour of the implementation code adheres to its specifications. Iv6 introduces four key ideas to achieve proof automation: its interfaces and corresponding specifications are designed to be finite to avoid unbounded loops or recursion; it separates kernel and user address spaces using a kernel page table isolation approach to simplify reasoning about virtual memory; it partitions the modules of a kernel state machine according to a state transition function to improve verification performance; and to avoid modelling complicated C semantics, it performs verification at the LLVM intermediate representation level. A total of 48 system calls and some high-level system properties in iv6 have been verified using this method. Experience shows that this framework can reduce the impact of human error on kernel development and make the verification of iv6 more efficient and straightforward. (C) 2020 Elsevier Ltd. All rights reserved.
Keyword:
Operating system
Formal verification
Functional correctness
Symbolic execution
RISCV
Code synthesis
AI总结

AI总结

对已上传原文的论文进行重点信息的提取,主要内容包括:简要概述、研究摘要、背景介绍、关键亮点、图文解析、展望与总结。

期刊

C
Computers and Security
IF:
5.4
论文数:
4.6K
被引数:
1.4W

机构

T
tsinghua university
学者数:
11.9W
论文数: 10.0W
被引数: 137
N
northeastern university - china
学者数:
3.2W
论文数: 2.7W
被引数: 37
引用论文

引用论文

“TOP–DOWN” TROPHIC INTERACTIONS IN LAKES: EFFECTS OF FISH ON NUTRIENT DYNAMICS
err1997-01-01
err0
PREAI
errMichael J. Vanni; Craig D. Layne; Shelley E. Arnott
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏
Model-Transformation Design Patterns
err2014-12-01
err38
PREAI
errLano, Kevin; Kolahdouz-Rahimi, Shekoufeh
err分享
err收藏
err
IF0
err
err0
PREAI
err
err分享
err收藏