RustBelt: Securing the Foundations of the Rust Programming Language - Archive ouverte HAL Accéder directement au contenu
Communication Dans Un Congrès Année : 2018

RustBelt: Securing the Foundations of the Rust Programming Language

Résumé

Rust is a new systems programming language that promises to overcome the seemingly fundamental tradeoff between high-level safety guarantees and low-level control over resource management. Unfortunately, none of Rust's safety claims have been formally proven, and there is good reason to question whether they actually hold. Specifically, Rust employs a strong, ownership-based type system, but then extends the expressive power of this core type system through libraries that internally use unsafe features. In this paper, we give the first formal (and machine-checked) safety proof for a language representing a realistic subset of Rust. Our proof is extensible in the sense that, for each new Rust library that uses unsafe features, we can say what verification condition it must satisfy in order for it to be deemed a safe extension to the language. We have carried out this verification for some of the most important libraries that are used throughout the Rust ecosystem.
Fichier principal
Vignette du fichier
paper.pdf (972.15 Ko) Télécharger le fichier
Origine : Fichiers produits par l'(les) auteur(s)
Loading...

Dates et versions

hal-01633165 , version 1 (11-11-2017)
hal-01633165 , version 2 (09-02-2018)

Identifiants

Citer

Ralf Jung, Jacques-Henri Jourdan, Robbert Krebbers, Derek Dreyer. RustBelt: Securing the Foundations of the Rust Programming Language. 45th ACM SIGPLAN Symposium on Principles of Programming Languages (POPL 2018), Jan 2018, Los Angeles, CA, United States. pp.66, ⟨10.1145/3158154⟩. ⟨hal-01633165v2⟩
276 Consultations
2741 Téléchargements

Altmetric

Partager

Gmail Facebook X LinkedIn More