paperbot · PL 论文追踪

RSS

StarMalloc: Verifying a Modern, Hardened Memory Allocator

OOPSLA 8(OOPSLA2)2024引用 7
Antonin Reitz, Aymeric Fromherz, Jonathan Protzenko

尚未生成 AI 速览(可能缺少 API key 或等待下次运行补跑)。

原文摘要(Abstract)

We present StarMalloc, a verified, efficient, security-oriented, and concurrent memory allocator. Using the Steel separation logic framework, we show how to specify and verify a multitude of low-level patterns and delicate security mechanisms, by relying on a combination of dependent types, SMT, and modular abstractions to enable efficient verification. We produce a verified artifact, in C, that implements the entire API surface of an allocator, and as such works as a drop-in replacement for real-world projects, notably the Firefox browser. As part of StarMalloc, we develop several generic datastructures and proof libraries directly reusable in future systems verification projects. We also extend the Steel toolchain to express several low-level idioms that were previously missing. Finally, we show that StarMalloc exhibits competitive performance by evaluating it against 10 state-of-the-art memory allocators, and against a variety of real-world projects, such as Redis, the Lean compiler, and the Z3 SMT solver.

链接与引用

DOI 原文 · PDF(开放获取) · DBLP

BibTeX
@article{ReitzFP24,
  title = {StarMalloc: Verifying a Modern, Hardened Memory Allocator},
  author = {Antonin Reitz and Aymeric Fromherz and Jonathan Protzenko},
  journal = {Proceedings of the ACM on Programming Languages},
  volume = {8},
  number = {OOPSLA2},
  year = {2024},
  doi = {10.1145/3689773}
}