The One Page Model Checker
Abstract
We show how standard IPC mechanisms can be used with the fork() system call to perform explicit state model checking on all interleavings of a multithreaded application. We specifically show how to check for deadlock and race conditions in programs with two threads. Our techniques are easy to apply to other languages, and require only the most rudimentary parsing of the target language. Our fundamental system fits in one page of C code.
- Publication:
-
arXiv e-prints
- Pub Date:
- June 2005
- DOI:
- 10.48550/arXiv.cs/0506084
- arXiv:
- arXiv:cs/0506084
- Bibcode:
- 2005cs........6084H
- Keywords:
-
- Logic in Computer Science;
- F.3.1
- E-Print:
- 12 pages