|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object frysk.sys.ptrace.AddressSpace
public class AddressSpace
A ptrace address space, that can be peeked or poked a "word" at a time.
Field Summary | |
---|---|
static AddressSpace |
DATA
|
static AddressSpace |
TEXT
|
static AddressSpace |
USR
|
Method Summary | |
---|---|
long |
length()
|
int |
peek(ProcessIdentifier pid,
long addr)
Fetch a byte at ADDR of process PID. |
void |
poke(ProcessIdentifier pid,
long addr,
int data)
Store the byte at ADDR of process PID. |
String |
toString()
|
void |
transfer(ProcessIdentifier pid,
long addr,
byte[] bytes,
int offset,
int length,
boolean write)
Transfer data between the local BYTES array and process PID. |
int |
transfer(ProcessIdentifier pid,
long addr,
long length,
byte[] bytes,
int offset,
boolean write)
Transfer data between the local BYTES array and process PID. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final AddressSpace TEXT
public static final AddressSpace DATA
public static final AddressSpace USR
Method Detail |
---|
public String toString()
toString
in class Object
public long length()
public int peek(ProcessIdentifier pid, long addr)
public void poke(ProcessIdentifier pid, long addr, int data)
public void transfer(ProcessIdentifier pid, long addr, byte[] bytes, int offset, int length, boolean write)
public int transfer(ProcessIdentifier pid, long addr, long length, byte[] bytes, int offset, boolean write)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |