Reverse Engineering with TLA+
summary
Claims that executable code can be reverse‑engineered into a faithful TLA+ model, using TLC model checking to expose incorrect assumptions. Applied to a password‑rotation feature spanning 300,000 lines of code across four repos, producing a high‑fidelity model in about a week of effort spread over a month. Results show many fragile timing assumptions, one new bug, and a revised safety spec from instantaneous safety to eventual safety.
AI-written summary · about
chapters (11)
- 0:00Introduction and speaker background
- 1:45Formal methods in software development
- 4:15Reverse engineering with TLA+
- 7:22Secret weapons for modeling
- 10:56Reverse engineering workflow
- 13:00Password rotation case study
- 16:34Observations from reverse engineering
- 22:59Project outcomes and findings
- 25:29People aspect of verification engineering
- 29:24Collaboration with development teams
- 31:35Future of formal methods in industry
