|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lib.unwind.AddressSpace
public abstract class AddressSpace
Field Summary | |
---|---|
(package private) int |
magic
|
(package private) static int |
MAGIC
Marker so that it is possible to confirm that this is an AddressSpace. |
long |
unwAddressSpace
|
Unwind |
unwinder
|
Constructor Summary | |
---|---|
AddressSpace(Unwind unwinder,
ByteOrder byteOrder)
|
Method Summary | |
---|---|
abstract int |
accessMem(long addr,
byte[] valp,
boolean write)
|
abstract int |
accessReg(Number regnum,
byte[] val,
boolean write)
Access LIBUNWIND Register REGNUM. |
Cursor |
createCursor()
|
protected void |
finalize()
|
abstract int |
findProcInfo(long ip,
boolean needUnwindInfo,
ProcInfo procInfo)
Locate the information needed to unwind a particular procedure. |
abstract long |
getReg(Number regnum)
See UnwindH.hxx:access_reg(write=false); only used for small integer registers. |
abstract void |
putUnwindInfo(ProcInfo procInfo)
Used to free a ProcInfo object created with needUnwindInfo as true. |
void |
setCachingPolicy(CachingPolicy cachingPolicy)
|
abstract void |
setReg(Number regnum,
long regval)
See UnwindH.hxx:access_reg(write=true); only used for small integer registers. |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
static final int MAGIC
final int magic
public final long unwAddressSpace
public final Unwind unwinder
Constructor Detail |
---|
public AddressSpace(Unwind unwinder, ByteOrder byteOrder)
Method Detail |
---|
protected void finalize()
finalize
in class Object
public Cursor createCursor()
public void setCachingPolicy(CachingPolicy cachingPolicy)
public abstract int findProcInfo(long ip, boolean needUnwindInfo, ProcInfo procInfo)
ip
- the instruction-address inside the procedure whose
information is needed.needUnwindInfo
- whether the format, unwind_info_size and unwind_info
fields of the returned ProcInfo should be set.
public abstract void putUnwindInfo(ProcInfo procInfo)
procInfo
- the procInfo object to be freed.public abstract int accessMem(long addr, byte[] valp, boolean write)
public abstract long getReg(Number regnum)
public abstract void setReg(Number regnum, long regval)
public abstract int accessReg(Number regnum, byte[] val, boolean write)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |