|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object frysk.sys.proc.AuxvBuilder
public abstract class AuxvBuilder
The build an auxiliary vector using the contents of the file /proc/PID/auxv. While this isn't a pure builder pattern, it is close enough.
Constructor Summary | |
---|---|
protected |
AuxvBuilder()
Create a AuxvBuilder; can only extend. |
Method Summary | |
---|---|
abstract void |
buildAuxiliary(int index,
int type,
long value)
Called with each auxiliary vector entry. |
abstract void |
buildDimensions(int wordSize,
boolean bigEndian,
int numberElements)
Called with the wordSize, byte order, and number of elements. |
boolean |
construct(byte[] auxv)
Scan the auxiliary vector found in the AUXV byte array. |
private boolean |
construct(int pid)
|
boolean |
construct(ProcessIdentifier pid)
Scan the auxiliary vector found in /proc/PID/auxv building up an auxv. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AuxvBuilder()
Method Detail |
---|
public boolean construct(ProcessIdentifier pid)
private boolean construct(int pid)
public final boolean construct(byte[] auxv)
buildDimensions(int, boolean, int)
, and buildAuxiliary(int, int, long)
.
public abstract void buildDimensions(int wordSize, boolean bigEndian, int numberElements)
public abstract void buildAuxiliary(int index, int type, long value)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |