|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectfrysk.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.
| 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. |
boolean |
construct(ProcessIdentifier pid)
Scan the auxiliary vector found in /proc/PID/auxv building up an auxv. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public boolean construct(ProcessIdentifier 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 | |||||||||