Synthesizing Certified Code
Whalen, Michael, Schumann, Johann and Fischer, Bernd (2002) Synthesizing Certified Code. In, FME 2002: Formal Methods - Getting IT Right, International Symposium of Formal Methods Europe, Copenhagen, 22 - 24 Jul 2002. Springer Verlag, 431-450.
Download
|
PDF
Download (257Kb) |
Description/Abstract
Code certification is a lightweight approach for formally demonstrating software quality. Its basic idea is to require code producers to provide formal proofs that their code satisfies certain quality properties. These proofs serve as certificates that can be checked independently. Since code certification uses the same underlying technology as program verification, it requires detailed annotations (e.g., loop invariants) to make the proofs possible. However, manually adding annotations to the code is time-consuming and error-prone. We address this problem by combining code certification with automatic program synthesis. Given a high-level specification, our approach simultaneously generates code and all annotations required to certify the generated code. We describe a certification extension of AutoBayes, a synthesis tool for automatically generating data analysis programs. Based on built-in domain knowledge, proof annotations are added and used to generate proof obligations that are discharged by the automated theorem prover E-SETHEO. We demonstrate our approach by certifying operator- and memory-safety on a data-classification program. For this program, our approach was faster and more precise than PolySpace, a commercial static analysis tool.
| Item Type: | Conference or Workshop Item (Paper) |
|---|---|
| Additional Information: | Event Dates: July 22-24, 2002 |
| ISBNs: | 3540439285 |
| Keywords: | automatic program synthesis, program verification, code certification, proof-carrying code, automated theorem proving |
| Divisions: | Faculty of Physical and Applied Science > Electronics and Computer Science > Electronic & Software Systems |
| Item ID: | 262941 |
| Date Deposited: | 06 Sep 2006 |
| Last Modified: | 02 Mar 2012 12:59 |
| Contributors: | Whalen, Michael (Author) Schumann, Johann (Author) Fischer, Bernd (Author) Eriksson, Lars-Henrik (Editor) Lindsay, Peter A. (Editor) |
| Date: | 2002 |
| Additional Information: | Event Dates: July 22-24, 2002 |
| Status: | Published |
| Publisher: | Springer Verlag |
| Further Information: | Google Scholar |
| URI: | http://eprints.soton.ac.uk/id/eprint/262941 |
Actions (login required)
![]() |
View Item |


