frysk.stepping
Class InstructionStepState
java.lang.Object
frysk.stepping.State
frysk.stepping.InstructionStepState
public class InstructionStepState
- extends State
Fields inherited from class frysk.stepping.State |
task |
Method Summary |
State |
handleUpdate(TaskStepEngine tse)
When the instruction observer from SteppingEngine returns, a single
step has been performed. |
boolean |
isAlive()
Returns whether or not this State a Task which has just died. |
boolean |
isStopped()
Returns whether or not this State represents a stopped Task. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
elfCache
private ElfSectionCache elfCache
PLT_DL_FIXUP
private final String PLT_DL_FIXUP
- See Also:
- Constant Field Values
isLine
private final boolean isLine
- Indicates that this is a step (into) line, if true then plt
entries are skipped.
InstructionStepState
public InstructionStepState(Task task,
boolean isLine)
handleUpdate
public State handleUpdate(TaskStepEngine tse)
- When the instruction observer from SteppingEngine returns, a single
step has been performed. All that is left to do is to reset the State
for this Task back to a StoppedState.
- Specified by:
handleUpdate
in class State
- Parameters:
tse
- The TaskStepEngine for this State.
- Returns:
- new StoppedState
isStopped
public boolean isStopped()
- Description copied from class:
State
- Returns whether or not this State represents a stopped Task.
- Specified by:
isStopped
in class State
- Returns:
- true If the Task is stopped
isAlive
public boolean isAlive()
- Description copied from class:
State
- Returns whether or not this State a Task which has just died.
- Specified by:
isAlive
in class State
- Returns:
- true If the Task is alive