Mostly-automated verification of low-level programs in computational separation logic
Author:
Open Access
- 4 June 2011
- journal article
- Published by Association for Computing Machinery (ACM) in ACM SIGPLAN Notices
- Vol. 46 (6) , 234-245
Abstract
Several recent projects have shown the feasibility of verifying low-level systems software. Verifications based on automated theorem-proving have omitted reasoning about first-class code pointers , which is critical for tasks like certifying implementations of threads and processes. Conversely, verifications that deal with first-class code pointers have featured long, complex, manual proofs. In this paper, we introduce the Bedrock framework, which supports mostly-automated proofs about programs with the full range of features needed to implement, e.g., language runtime systems. The heart of our approach is in mostly-automated discharge of verification conditions inspired by separation logic. Our take on separation logic is computational , in the sense that function specifications are usually written in terms of reference implementations in a purely functional language . Logical quantifiers are the most challenging feature for most automated verifiers; by relying on functional programs (written in the expressive language of the Coq proof assistant), we are able to avoid quantifiers almost entirely. This leads to some dramatic improvements compared to both past work in classical verification, which we compare against with implementations of data structures like binary search trees and hash tables; and past work in verified programming with code pointers, which we compare against with examples like function memoization and a cooperative threading library.Keywords
This publication has 24 references indexed in Scilit:
- Building a Calculus of Data StructuresLecture Notes in Computer Science, 2010
- Practical Tactics for Separation LogicLecture Notes in Computer Science, 2009
- Full functional verification of linked data structures2008
- Certifying low-level programs with hardware interrupts and preemptive threads2008
- Smallfoot: Modular Automatic Assertion Checking with Separation Logic2006
- Boogie: A Modular Reusable Verifier for Object-Oriented Programs2006
- Simplify: a theorem prover for program checkingJournal of the ACM, 2005
- Interfacing Hoare Logic and Type Systems for Foundational Proof-Carrying Code2004
- Proving Pointer Programs in Higher-Order LogicLecture Notes in Computer Science, 2003
- Parametric shape analysis via 3-valued logicACM Transactions on Programming Languages and Systems, 2002