Public Methods | |
VirtualMachine (String classname) | |
boolean | Backtrack () |
Path | buildPath () |
boolean | CheckInvariant (iProperty p) |
FilenameLinePair | ErrorBackward () |
FilenameLinePair | ErrorForward () |
FilenameLinePair | ErrorInit () |
int | ErrorPathLength () |
int | Forward () |
ErrorTrailInterface | getErrorTrail () |
Path | getErrorTrail_from_file () |
Path | getErrorTrail_to_file () |
Path | getErrorTrail1 () |
iKernelState | getKernelState () |
int | getSafeMoves () |
iSystemState | getSystemState () |
int | nextThreadToExecute () |
int | previousThreadToExecute () |
void | printStackTrace () |
void | pushInitialSystemState () |
void | pushSystemState () |
void | reinit (String classname) |
void | ShowErrorTrail () |
void | ShowErrorTrail (Path ePath) |
int | simForward () |
void | SimulateErrorTrail (Path ePath) |
VirtualMachine () | |
boolean | Backtrack () |
boolean | BuchiBacktrack () |
boolean | BuchiEvaluate (Method method) |
boolean | BuchiEvaluate (Method method, Object[] arg) |
int | BuchiForward () |
BuchiSet | BuchiGet () |
void | BuchiInitSch () |
void | BuchiObservable (String observable) |
void | BuchiSetState (int buchi_state) |
Path | buildPath () |
FilenameLinePair | ErrorBackward () |
FilenameLinePair | ErrorForward () |
FilenameLinePair | ErrorInit () |
int | ErrorPathLength () |
boolean | executePath (Path p) |
boolean | executePath (Path p, Object state) |
int | Forward () |
Reference | getClassReference (String name) |
String | getErrorMessage () |
ErrorTrailInterface | getErrorTrail () |
Path | getErrorTrail_from_file () |
Path | getErrorTrail_to_file () |
Path | getErrorTrail1 () |
Path | getPath (byte[] p) |
Reference | getReference (String name) |
Object | getState () |
iSystemState | getSystemState () |
void | init (String[] arguments) |
boolean | isDeadlocked () |
boolean | isTerminated () |
int | nextThreadToExecute () |
void | popState () |
void | popSystem () |
int | previousThreadToExecute () |
void | printStackTrace () |
void | pushState () |
void | pushSystem () |
void | reinit () |
void | removeState () |
void | setState (Object state) |
void | ShowErrorTrail () |
void | ShowErrorTrail (Path path) |
iScheduler | xForward (iScheduler sch) |
Static Public Methods | |
void | activateGC () |
String | getStatus () |
SystemState | getSS () |
Static Public Attributes | |
HashPool | fieldsPool = new HashPool() |
HashPool | framePool = new HashPool() |
HashPool | objectInfoPool = new HashPool() |
HashPool | threadPool = new HashPool() |
JVMOptions | options |
HashSet | observablePositions = new HashSet() |
HashSet | observableLabels = new HashSet() |
HashSet | observableInvokes = new HashSet() |
HashSet | observableReturns = new HashSet() |
Static Private Methods | |
void | setSS (SystemState ss) |
Private Attributes | |
SystemState | system_state |
KernelState | kernel_state |
StateStack | stack = new StateStack() |
boolean | first_max_stack_reached = true |
String | mainClass |
JVMPath | errorPath |
int | pos_in_errorPath |
Counter | matching_states |
SystemState | ss |
Stack | stateStoringStack |
Stack | stateBacktrackStack |
Stack | backtrackStack |
boolean | maxDepthReached |
String | classname |
String[] | args |
int | posInErrorPath |
boolean | executingPath |
LinkedList | path |
boolean | initialState |
Static Private Attributes | |
boolean | gc_needed = false |
boolean | initial_state = true |
SystemState | xss |
String[] | partitionPath |
BufferedReader | br |
Definition at line 18 of file lib/jpf/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java.
|
Creates a new Virtual Machine. Definition at line 187 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Moves one step backward. Definition at line 192 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Moves backward in the error path. Definition at line 341 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Moves forward in the simulation. Definition at line 353 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Initializes error simulation. Definition at line 373 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Length of the erro path. Definition at line 387 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Moves one step forward. Definition at line 435 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Prints the content of an error trail. Definition at line 1051 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Prints and saves the error trace. Definition at line 1037 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Creates a path to the current state. Definition at line 328 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Create a new error trace. Definition at line 532 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Returns an error trail. Definition at line 637 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Read the error trail and returns a path that can be simulated. Definition at line 561 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Gets the thread local system state. Definition at line 678 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Gets the system state. Definition at line 691 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Initialize the virtual machine. Creates the main thread, passes the arguments to the main function and store the initial state.
Definition at line 700 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Returns the identifier of the next thread to be executed. Definition at line 775 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Restore the state and backtracking information. Definition at line 835 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Returns the identified of the thread that just executed. Definition at line 847 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Prints the current stack trace. Definition at line 860 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Saves the state of the system. Definition at line 866 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Saves the backtracking information. Definition at line 873 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Reinitializes the virtual machine. Definition at line 881 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Sets the thread local system state. Definition at line 1019 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Restores the machine to a state from the heuristic queue. Definition at line 1029 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
The arguments to the main class. Definition at line 97 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Backtrack stack. Definition at line 82 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Initial value: new BufferedReader( new InputStreamReader(System.in)) Definition at line 181 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
The name of the main class. Definition at line 92 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
The path to the error. Definition at line 102 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Set to true during path execution. Definition at line 112 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Set to true at the initial state. Used to simulate a transition into the initial state itself. Definition at line 125 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Used to print the max stack depth reached message only once. Definition at line 87 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Contains the list of invoke instructions which are observable. Definition at line 140 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Contains the list of the labels which are observable. Definition at line 135 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Contains the list of the positions which are observable. Definition at line 130 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Contains the list of methods whose return instruction are observable. Definition at line 145 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
A way to access the options specific to the JVM without using a cast. Definition at line 154 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Initial value: { null, "gov.nasa.arc.ase.jpf.partition", "gov.nasa.arc.ase.jpf.jvm.partition", } Definition at line 175 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Path to the current position. Definition at line 117 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
The current position in the error path. Definition at line 107 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
The state of the system. Definition at line 67 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
State backtrack information stack. Definition at line 77 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
State storing information stack. Definition at line 72 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |
|
Thread local version of the system state. Definition at line 160 of file src/gov/nasa/arc/ase/jpf/jvm/VirtualMachine.java. |