Soteria: efficient symbolic execution as a functional library: perhaps you should write your own symbolic execution engine!
File(s) 3808306.pdf (1.5 MB)
Published version
Author(s)
Ayoun, Sacha-Élie
Sjöstedt, Opale
Raad, Azalea
Type
Journal Article
Abstract
Symbolic execution (SE) tools often rely on intermediate languages (ILs) to support multiple programming languages, promising reusability and efficiency. In practice, this approach introduces trade-offs between performance, accuracy, and language feature support. We argue that building SE engines directly for each source language is both simpler and more effective. We present Soteria, a lightweight OCaml library for writing SE engines in a functional style, without compromising on performance, accuracy or feature support. Soteria enables developers to construct SE engines that operate directly over source-language semantics, offering configurability, compositional reasoning, and ease of implementation. Using Soteria, we develop SoteriaRUST, the first Rust SE engine supporting Tree Borrows (the intricate aliasing model of Rust), and SoteriaC a compositional SE engine for C. Both tools are competitive with or outperform state-of-the-art tools such as Kani, Pulse, CBMC and Gillian-C in performance and the number of bugs detected. We formalise the theoretical foundations of Soteria and prove its soundness, demonstrating that sound, efficient, accurate, and expressive SE can be achieved without the compromises of ILs.
Date Issued
2026-06-08
Date Acceptance
2026-04-03
Citation
Proceedings of the ACM on Programming Languages, 2026, 10 (PLDI), pp.1484-1509
ISSN
2475-1421
Publisher
Association for Computing Machinery (ACM)
Start Page
1484
End Page
1509
Journal / Book Title
Proceedings of the ACM on Programming Languages
Volume
10
Issue
PLDI
Copyright Statement
© 2026 Copyright held by the owner/author(s). This work is licensed under a Creative Commons Attribution-NonCommercial-NoDerivs International 4.0 License.
License URL
Publication Status
Published
Article Number
228
Date Publish Online
2026-06-08
