Skip to main navigation Skip to search Skip to main content

From C to Interaction Trees: Specifying, Verifying, and Testing a Networked Server

  • Nicolas Koh
  • , Yao Li
  • , Yishuai Li
  • , Li-yao Xia
  • , Lennart Beringer
  • , Wolf Honoré
  • , William Mansky
  • , Benjamin C. Pierce
  • , Steve Zdancewic

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution

Abstract

We present the first formal verification of a networked server implemented in C. Interaction trees, a general structure for representing reactive computations, are used to tie together disparate verification and testing tools (Coq, VST, and QuickChick) and to axiomatize the behavior of the operating system on which the server runs (CertiKOS). The main theorem connects a specification of acceptable server behaviors, written in a straightforward “one client at a time” style, with the CompCert semantics of the C program. The variability introduced by low-level buffering of messages and interleaving of multiple TCP connections is captured using network refinement, a variant of observational refinement.
Original languageEnglish
Title of host publicationProceedings of the 8th ACM SIGPLAN International Conference on Certified Programs and Proofs
EditorsAssia Mahboubi, Magnus O. Myreen
Place of PublicationNew York, NY, USA
PublisherAssociation for Computing Machinery, Inc
Pages234–248
Number of pages15
ISBN (Print)9781450362221
DOIs
Publication statusPublished - 14 Jan 2019
Event8th ACM SIGPLAN International Conference on Certified Programs and Proofs - Lisbon, Portugal
Duration: 14 Jan 2019 → 15 Sept 2019
Conference number: 8

Publication series

NameCPP 2019
PublisherAssociation for Computing Machinery

Conference

Conference8th ACM SIGPLAN International Conference on Certified Programs and Proofs
Abbreviated titleCPP 2019
Country/TerritoryPortugal
CityLisbon
Period14/01/19 → 15/09/19

Keywords / Materials (for Non-textual outputs)

  • QuickChick
  • testing
  • network refinement
  • interaction trees
  • formal verification
  • VST
  • TCP

Fingerprint

Dive into the research topics of 'From C to Interaction Trees: Specifying, Verifying, and Testing a Networked Server'. Together they form a unique fingerprint.

Cite this