« "Model checking Java programs using ..." by Groce,Visser | Main | BrickOS »
October 28, 2003
Transformations for Model Checking Distributed Java... by Stoller and Liu
[Transformations for Model Checking Distributed Java Programs (ResearchIndex)] Three transformations to allow the verification of a mutli-process java program in a single java process. Also avoid native library calls in the process.
The problem:
there are model checkers for multi threaded single process java programs. In java, its easy to define a multi process distributed program. There are no model checkers for multi-process distributed programs. Distributed means "programs that involve communication among multiple processes". and... RMI and encryption invoke native methods and "Supporting such native methods in a model checker is extremely problematic, because there is no general way for the model checker to save and restore their state."
The solution:
1. Centralization: "merge all processes into a single process"
2. RMI removal: replace RMI with normal method invocations.
3. Pseudo-crypto: replace cyptographic stuff with symbolic counterparts.
The limitations:
All three transformations rely on the assumption that the original program is not real-time and does not use reflection in a way that would detect the transformation's effects.
The details:
to be added later.
The results:
implementation is "mostly complete" Will be released as part of Bandera. First case study will be a scalable distributed voting system done as a class project. Should be done by SPIN 2001.
Relation to our work:
Assuming we make a model checker for C on a real time platform, there are some lessons to learn from this paper. First, as we expect, calls to native libraries are going to be difficult to model. We plan to not follow library calls into system code. This is similar to what gdb does if you "execute a funtion without descending into the function" I still think that's a fine idea.
Second, we are aiming for real time settings. Stoller and Liu deliberatly avoid real time. We may too in the end!
Posted by jones at October 28, 2003 08:15 AM
Comments
Post a comment
Thanks for signing in, . Now you can comment. (sign out)
(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)