arXiv Open Access 2024

Combining Type Checking and Formal Verification for Lightweight OS Correctness

Ramla Ijaz Kevin Boos Lin Zhong
Lihat Sumber

Abstrak

This paper reports our experience of providing lightweight correctness guarantees to an open-source Rust OS, Theseus. First, we report new developments in intralingual design that leverage Rust's type system to enforce additional invariants at compile time, trusting the Rust compiler. Second, we develop a hybrid approach that combines formal verification, type checking, and informal reasoning, showing how the type system can assist in increasing the scope of formally verified invariants. By slightly lessening the strength of correctness guarantees, this hybrid approach substantially reduces the proof effort. We share our experience in applying this approach to the memory subsystem and the 10 Gb Ethernet driver of Theseus, demonstrate its utility, and quantify its reduced proof effort.

Topik & Kata Kunci

Penulis (3)

R

Ramla Ijaz

K

Kevin Boos

L

Lin Zhong

Format Sitasi

Ijaz, R., Boos, K., Zhong, L. (2024). Combining Type Checking and Formal Verification for Lightweight OS Correctness. https://arxiv.org/abs/2501.00248

Akses Cepat

Lihat di Sumber
Informasi Jurnal
Tahun Terbit
2024
Bahasa
en
Sumber Database
arXiv
Akses
Open Access ✓