Model-Guided Fuzzing of Distributed Systems
We present a coverage-guided testing algorithm for distributed systems implementations. Our main innovation is the use of an abstract formal model of the system that is used to define coverage. Such abstract models are frequently developed in the early phases of protocol design and verification but are infrequently used at testing time. We show that guiding random test generation using model coverage can be effective in covering interesting points in the implementation state space. We have implemented a fuzzer for distributed system implementations and abstract models written in TLA+. Our algorithm achieves better coverage over purely random exploration as well as random exploration guided by different notions of scheduler coverage and mutation. In particular, we show consistently higher coverage on implementations of distributed consensus protocols such as Two-Phase Commit and the Raft implementations in Etcd-raft and RedisRaft and detect bugs faster. Moreover, we discovered 12 previously unknown bugs in their implementations, four of which could only be detected by model-guided fuzzing.
Authors
- Burcu Kulahcioglu Ozkan (ORCID: https://orcid.org/0000-0002-7038-165X)
- Berkay Gulcan (ORCID: https://orcid.org/0000-0003-1237-0829)
- Srinidhi Nagendra (ORCID: https://orcid.org/0000-0002-7171-5543)
- Rupak Majumdar (ORCID: https://orcid.org/0000-0003-2136-0542)
Institutions
- Centre National de la Recherche Scientifique (FR)
- Chennai Mathematical Institute (IN)
- Université Paris Cité (FR)
- Sorbonne Paris Cité (FR)
- Institut de Recherche en Informatique Fondamentale (FR)
- Max Planck Institute for Software Systems (DE)
- Delft University of Technology (NL)
Publication Details
- Journal
- Proceedings of the ACM on Programming Languages
- Published
- 2025-10-09
- DOI
- https://doi.org/10.1145/3763060
- Primary Topic
- Model-Driven Software Engineering Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.00