conference-paper Open access

End-to-End Mechanized Proof of an eBPF Virtual Machine for Micro-controllers

  • Lecture notes in computer science
  • Springer Science+Business Media
Research footprint

At a glance

Citations
9
References
29
Comments
0
Paper overview

Abstract

Abstract RIOT is a micro-kernel dedicated to IoT applications that adopts eBPF (extended Berkeley Packet Filters) to implement so-called femto-containers. As micro-controllers rarely feature hardware memory protection, the isolation of eBPF virtual machines (VM) is critical to ensure system integrity against potentially malicious programs. This paper shows how to directly derive, within the Coq proof assistant, the verified C implementation of an eBPF virtual machine from a Gallina specification. Leveraging the formal semantics of the CompCert C compiler, we obtain an end-to-end theorem stating that the C code of our VM inherits the safety and security properties of the Gallina specification. Our refinement methodology ensures that the isolation property of the specification holds in the verified C implementation. Preliminary experiments demonstrate satisfying performance.

Record transparency

Publication details

DOI
10.1007/978-3-031-13188-2_15
OpenAlex
W4289924446
Document type
conference-paper
Language
EN
Source
Lecture notes in computer science
Last metadata update
Community

Comments

Log in to join the discussion.

  1. No comments yet. Start the discussion.