Hacker News · AI·· 20 h agoAI score38
MachCSL extends separation logic to verify the xv6 OS kernel on RISC-V with LLM-based agents
Extending separation logic to verify the xv6 OS kernel on RISC-V with AI agents
AI summary
MachCSL, a framework built on Sail RISC-V semantics, adapts Iris-based concurrent separation logic to reason about sub-instruction-level hardware behavior such as page-table translation, TLB, traps and DMA. Using LLM-based agents, it verified the 6,657-line xv6 kernel, uncovering 11 xv6 bugs plus one bug each in the Sail RISC-V semantics and Sail's Lean extraction, in a 102-day effort.
Source:Hacker News · AI · arxiv.org