Formal Methods for Xen’s Safety and Security
summary
Uses CBMC model checking on Xen C code, extracting build flags, shadowing irrelevant functions, replacing assembly (ctz) and allocators, and auto‑generating a harness to verify the PDX compressor. Verifies two concrete properties: one‑to‑one mapping between PDX and PFN and PFNs land inside valid memory regions; CBMC reports 86 properties satisfied. Proof runs under five minutes and uses ~400 MB RAM. Event‑channel verification is work‑in‑progress, facing state‑explosion, structure‑size and multi‑domain scaling challenges.
AI-written summary · about
chapters (10)
- 0:00Introduction to formal methods
- 2:08Why formal methods matter
- 3:15Choosing CBMC for verification
- 4:41PDX subsystem proof example
- 9:40Setting up PDX proof environment
- 11:05PDX proof results and output
- 12:08Event channel work in progress
- 14:38Event channel challenges
- 15:22Future work and improvements
- 16:04Q&A session
