ModelFuzz: Model guided fuzzing of distributed systems
summary
ModelFuzz uses a TLA+ model as coverage to guide fuzzing of real distributed implementations, running tests through a central message-capturing proxy and mapping observed events to model actions; TLC is determinized so the checker can pick exact message actions and a bounded-term abstraction collapses unbounded election terms. Mutations are simple swap scheduling mutations on deliver/crash choices. Experiments run 24-hour fuzz jobs repeated 20 times, run on etcd and Raft implementations, find bugs faster and surface 13 previously unknown etcd bugs (4 only found by this method).
AI-written summary · about
chapters (9)
- 0:00Introduction and background
- 3:31Motivation for testing distributed systems
- 9:34Drawbacks of model-based testing
- 13:44ModelFuzz approach overview
- 17:38Mapping events to model actions
- 20:11Initial results and challenges
- 22:41Benchmark results and bug findings
- 27:15Limitations and future work
- 29:49Q&A session
