Selected dynamic issues in software model checking

Viet Yen Nguyen, Theo C. Ruys
2012 International Journal on Software Tools for Technology Transfer (STTT)  
Software model checking has come of age. After one and a half decade, several successful model checking tools have emerged. One of the most prominent approaches is the virtual machine based approach, pioneered by Java PathFinder (JPF). And although the virtual machine based approach has been rather successful, it lags behind classic model checking in terms of speed and memory consumption. Fortunately, with respect to the implementation of virtual based model checkers, there is still ample room
more » ... or innovation and optimizations. This paper presents three novel (optimization) techniques that have been implemented into MOONWALKER, a software model checker for .NET programs. -.NET specifies an exception handling mechanism called structured exception handling (SEH). SEH is one of the most sophisticated and fine-grained exception handling mechanisms for application platforms. Its implementation within MOONWALKER is the most sophisticated in a model checker to date. -To decrease memory use within MOONWALKER, a collapsing scheme has been developed for collapsing the metadata used by stateful dynamic partial order reduction. The reduction of memory is -in some cases -more than a factor of two. -Finally, to decrease the verification time, the Memoised Garbage Collection (MGC) algorithm has been developed. It has a lower time-complexity than the often used Mark & Sweep garbage collector. Its main idea is that it only traverses changed parts of the heap instead of the full heap. The average time reduction is up to 25%. We have used the Java Grande Forum benchmark suite to compare MOONWALKER against JPF and observed that the average performance of MOONWALKER is on par with JPF. The MOONWALKER model checker has been developed within the Formal Methods & Tools group of the
doi:10.1007/s10009-012-0261-y fatcat:wi7uoinvwrfydexhf7mftfp6oi