frysk.sys.ptrace
Class RegisterSet
java.lang.Object
frysk.sys.ptrace.RegisterSet
public class RegisterSet
- extends Object
A ptrace register set that is transfered to/from PID in bulk.
Constructor Summary |
RegisterSet(int ptLength,
int ptGet,
int ptSet)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
fine
private static final Log fine
ptLength
private final int ptLength
ptGet
private final int ptGet
ptSet
private final int ptSet
REGS
public static final RegisterSet REGS
FPREGS
public static final RegisterSet FPREGS
FPXREGS
public static final RegisterSet FPXREGS
RegisterSet
RegisterSet(int ptLength,
int ptGet,
int ptSet)
length
public int length()
- Return the size of the register set in bytes.
transfer
public void transfer(ProcessIdentifier pid,
byte[] data,
boolean write)
- Fetch PID's register set into DATA.
transfer
private static void transfer(int op,
int pid,
byte[] data,
int length)
regs
private static RegisterSet regs()
fpregs
private static RegisterSet fpregs()
fpxregs
private static RegisterSet fpxregs()