public class NullTracker extends ListenerAdapter
Modifier and Type | Class and Description |
---|---|
static class |
NullTracker.CtorSource |
static class |
NullTracker.FieldSource |
static class |
NullTracker.LocalSource |
static class |
NullTracker.MethodSource |
static class |
NullTracker.NullSource |
Modifier and Type | Field and Description |
---|---|
protected NullTracker.NullSource |
nullSource |
Constructor and Description |
---|
NullTracker(Config config,
JPF jpf) |
Modifier and Type | Method and Description |
---|---|
protected void |
checkCtorSourcePre(ThreadInfo ti,
ReturnInstruction insn) |
protected void |
checkFieldSourcePre(ThreadInfo ti,
WriteInstruction put) |
protected void |
checkLocalSourcePost(ThreadInfo ti,
LocalVariableInstruction insn) |
protected void |
checkMethodSourcePre(ThreadInfo ti,
ReturnValueInstruction aret) |
void |
exceptionThrown(VM vm,
ThreadInfo ti,
ElementInfo thrownException)
exception was thrown
|
void |
executeInstruction(VM vm,
ThreadInfo ti,
Instruction insn)
VM is about to execute the next instruction
|
void |
instructionExecuted(VM vm,
ThreadInfo ti,
Instruction nextInsn,
Instruction insn)
VM has executed the next instruction
(can be used to analyze branches, monitor PUTFIELD / GETFIELD and
INVOKExx / RETURN instructions)
|
void |
publishPropertyViolation(Publisher publisher) |
choiceGeneratorAdvanced, choiceGeneratorProcessed, choiceGeneratorRegistered, choiceGeneratorSet, classLoaded, exceptionBailout, exceptionHandled, gcBegin, gcEnd, loadClass, methodEntered, methodExited, objectCreated, objectExposed, objectLocked, objectNotify, objectNotifyAll, objectReleased, objectShared, objectUnlocked, objectWait, propertyViolated, publishConstraintHit, publishFinished, publishProbe, publishStart, publishTransition, searchConstraintHit, searchFinished, searchProbed, searchStarted, stateAdvanced, stateBacktracked, stateProcessed, statePurged, stateRestored, stateStored, threadBlocked, threadInterrupted, threadNotified, threadScheduled, threadStarted, threadTerminated, threadWaiting, vmInitialized
protected NullTracker.NullSource nullSource
protected void checkCtorSourcePre(ThreadInfo ti, ReturnInstruction insn)
protected void checkFieldSourcePre(ThreadInfo ti, WriteInstruction put)
protected void checkMethodSourcePre(ThreadInfo ti, ReturnValueInstruction aret)
public void executeInstruction(VM vm, ThreadInfo ti, Instruction insn)
VMListener
executeInstruction
in interface VMListener
executeInstruction
in class ListenerAdapter
protected void checkLocalSourcePost(ThreadInfo ti, LocalVariableInstruction insn)
public void instructionExecuted(VM vm, ThreadInfo ti, Instruction nextInsn, Instruction insn)
VMListener
instructionExecuted
in interface VMListener
instructionExecuted
in class ListenerAdapter
public void exceptionThrown(VM vm, ThreadInfo ti, ElementInfo thrownException)
VMListener
exceptionThrown
in interface VMListener
exceptionThrown
in class ListenerAdapter
public void publishPropertyViolation(Publisher publisher)
publishPropertyViolation
in interface PublisherExtension
publishPropertyViolation
in class ListenerAdapter