|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object frysk.stack.Frame
public abstract class Frame
Field Summary | |
---|---|
private static Log |
fine
|
private Frame |
inner
|
private int |
level
|
private Frame |
outer
|
private Task |
task
|
private boolean |
unwound
Has there already been an unwind attempt? |
Constructor Summary | |
---|---|
Frame(Frame inner,
Task task)
Construct a frame. |
Method Summary | |
---|---|
abstract long |
getAddress()
Returns the program counter for this StackFrame. |
abstract long |
getAdjustedAddress()
Returns the pre-call PC for this non-interrupted StackFrame. |
abstract FrameIdentifier |
getFrameIdentifier()
Return this frame's FrameIdentifier. |
Frame |
getInner()
Returns this StackFrame's inner frame. |
String |
getLibraryName()
|
Frame |
getOuter()
Returns this StackFrame's outer frame. |
long |
getRegister(Register register)
|
abstract void |
getRegister(Register register,
long offset,
int length,
byte[] bytes,
int start)
Extracts OFFSET:LENGTH bytes of REGISTER storing them from START in BYTES (in the target's byte order). |
private byte[] |
getRegisterBytes(Register register)
|
Value |
getRegisterValue(Register register)
|
abstract Symbol |
getSymbol()
Return this frame's symbol; UNKNOWN if there is no symbol. |
Task |
getTask()
Returns the Task this StackFrame belongs to. |
int |
level()
|
void |
printLevel(PrintWriter writer)
|
protected void |
printLibraryName(PrintWriter writer,
PrintStackOptions options)
If requrested by the stack options, print the library name using the form " from LIBRARY". |
abstract void |
setRegister(Register register,
long offset,
int length,
byte[] bytes,
int start)
Stores BYTES from START into REGISTER at OFFSET:LENGTH (in the target's byte order). |
void |
toPrint(PrintWriter writer,
PrintStackOptions options)
Write a simple string representation of this stack frame. |
String |
toString()
Returns a plain string representation if this frame. |
protected abstract Frame |
unwind()
Returns this Frame's outer frame; or null if there is no frame. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
private static Log fine
private final Task task
private final Frame inner
private Frame outer
private final int level
private boolean unwound
Constructor Detail |
---|
Frame(Frame inner, Task task)
Method Detail |
---|
public abstract long getAddress()
public abstract long getAdjustedAddress()
public final Task getTask()
public final int level()
public final void printLevel(PrintWriter writer)
public final Frame getInner()
public final Frame getOuter()
protected abstract Frame unwind()
public void toPrint(PrintWriter writer, PrintStackOptions options)
printWriter
- protected void printLibraryName(PrintWriter writer, PrintStackOptions options)
public String getLibraryName()
public String toString()
toPrint()
with both printParameters and fullPaths set to false.
toString
in class Object
public abstract void getRegister(Register register, long offset, int length, byte[] bytes, int start)
private byte[] getRegisterBytes(Register register)
public final Value getRegisterValue(Register register)
public final long getRegister(Register register)
public abstract void setRegister(Register register, long offset, int length, byte[] bytes, int start)
public abstract FrameIdentifier getFrameIdentifier()
public abstract Symbol getSymbol()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |