Model checking JAVA programs using JAVA PathFinder
Author(s) -
Klaus Havelund,
Thomas Pressburger
Publication year - 2000
Publication title -
international journal on software tools for technology transfer
Language(s) - English
Resource type - Journals
SCImago Journal Rank - 0.397
H-Index - 55
eISSN - 1433-2787
pISSN - 1433-2779
DOI - 10.1007/s100090050043
Subject(s) - promela , computer science , java , programming language , model checking , java modeling language , generics in java , java annotation , program analysis , real time java
.This paper describes a translator called Java PathFinder (Jpf), which translates from Java to Promela, the modeling language of the Spin model checker. Jpf translates a given Java program into a Promela model, which then can be model checked using Spin. The Java program may contain assertions, which are translated into similar assertions in the Promela model. The Spin model checker will then look for deadlocks and violations of any stated assertions. Jpf generates a Promela model with the same state space characteristics as the Java program. Hence, the Java program must have a finite and tractable state space. This work should be seen in a broader attempt to make formal methods applicable within NASA’s areas such as space, aviation, and robotics. The work is a continuation of an effort to formally analyze, using Spin, a multi-threaded operating system for the Deep-Space 1 space craft, and of previous work in applying existing model checkers and theorem provers to real applications.
Accelerating Research
Robert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom
Address
John Eccles HouseRobert Robinson Avenue,
Oxford Science Park, Oxford
OX4 4GP, United Kingdom