Skip to main content

From a verified kernel towards verified systems

Authors

Gerwin Klein

NICTA

UNSW

Abstract

We report on the formal, machine-checked verification of the seL4 microkernel from an abstract specification down to its C implementation. We assume correctness of compiler, assembly code, hardware, and boot code.

seL4 is a third-generation microkernel of L4 provenance, comprising 8,700 lines of C and 600 lines of assembler. Its performance is comparable to other high-performance L4 kernels. We prove that the implementation always strictly follows our high-level abstract specification of kernel behaviour. This encompasses traditional design and implementation safety properties such as that the kernel will never crash, and it will never perform an unsafe operation. It also implies much more: we can predict precisely how the kernel will behave in every possible situation.

BibTeX Entry

  @inproceedings{Klein_10_3,
    publisher        = {Springer},
    isbn             = {3-642-17163-X},
    author           = {Klein, Gerwin},
    month            = nov,
    editor           = {{Kazunori Ueda}},
    year             = {2010},
    keywords         = {sel4, isabelle, os verification},
    title            = {From a Verified Kernel Towards Verified Systems},
    booktitle        = {Asian Symposium on Programming Languages and Systems (APLAS)},
    pages            = {21--33},
    address          = {Shanghai, China}
  }

Download

Served by Apache on Linux on seL4.