Cogent
Sidney Amani, Alex Hixon, Zilin Chen et al. · ACM SIGPLAN Notices · 2016
We present an approach to writing and formally verifying high-assurance file-system code in a restricted language called Cogent, supported by a certifying compiler that produces C code, high-level specification of Cogent, and translation correctness proofs. The language is strongly typed and guarantees absence of a number of common file system implementation errors. We show how verification effort is drastically reduced for proving higher-level properties of the file system implementation by reasoning about the generated formal specification rather than its low-level C code. We use the framework to write two Linux file systems, and compare their performance with their native C implementations.
Cited by 4 works. doi:10.1145/2954679.2872404
Authors
- Sidney Amani
- Alex Hixon
- Zilin Chen
- Christine Rizkallah
- Peter Chubb
- Liam O’Connor
- Joel Beeren
- Yutaka Nagashima
- Japheth Lim
- Thomas Arthur Leck Sewell
- Joseph Tuong
- Gabriele Keller
- Toby Murray
- Gerwin Klein
- Gernot Heiser
References
- Lecture Notes in Computer Science 1205
- Separation logic: a logic for shared mutable data structures
- seL4
- Isabelle/HOL
- Interactive Theorem Proving and Program Development
- Formal verification of a realistic compiler
- Improving IPC by kernel design
- Formal certification of a compiler back-end or
- International Conference on Software Engineering
- Specification of the UNIX Filing System