|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lib.dwfl.ElfNhdr.ElfNoteSectionEntry lib.dwfl.ElfPrstatus
public class ElfPrstatus
Java Representation of the the PRSTATUS notes secion found in core files
Constructor Summary | |
---|---|
ElfPrstatus(int size)
|
Method Summary | |
---|---|
static ElfPrstatus[] |
decode(ElfData noteData)
|
long |
fillMemRegion(byte[] buffer,
long startAddress)
|
long |
getEntrySize()
|
static long |
getNoteData(ElfData data)
|
long |
getPrCStimeSec()
Get the >pr_cstime_sec value. |
long |
getPrCStimeUsec()
Get the pr_sctime_usec value. |
long |
getPrCurSig()
Returns the Prstatus current signal value |
long |
getPrCUtimeSec()
Get the pr_cutime_sec value. |
long |
getPrCUtimeUsec()
Get the pr_cutime_usec value. |
long |
getPrFPValid()
|
long |
getPrInfoSiCode()
|
long |
getPrInfoSiErrno()
|
long |
getPrInfoSiSigno()
|
int |
getPrPgrp()
Returns the Prstatus group pid value |
int |
getPrPid()
Returns the Prstatus pid value |
int |
getPrPpid()
Returns the Prstatus parent pid value |
int |
getPrSid()
Returns the Prstatus session id value |
long |
getPrSigHold()
Returns the Prstatus signal hold id value |
long |
getPrSigPending()
Returns the Prstatus signal pending id value |
long |
getPrStimeSec()
Get the Pr_Stime_Usec value. |
long |
getPrStimeUsec()
Get the Pr_Stime_Usec value. |
long |
getPrUtimeSec()
Get the Pr_Utime_Usec value. |
long |
getPrUtimeUsec()
Get the Pr_Utime_Usec value. |
byte[] |
getRawCoreRegisters()
Returns the raw byte[] data representing the register data. |
int |
getSize()
|
ArrayList |
getThreadData()
|
void |
printAll()
|
void |
setPrCStimeSec(long newPrCStimeSec)
Set the pr_cstime_secc value. |
void |
setPrCStimeUsec(long newPrCStimeUsec)
Set the pr_cstime_usec value. |
void |
setPrCurSig(long sigcur)
Sets the Prstatus current signal value |
void |
setPrCUtimeSec(long newPrCUtimeSec)
Set the pr_cutime_sec value. |
void |
setPrCUtimeUsec(long newPrCUtimeUsec)
Set the pr_cutime_usec value. |
void |
setPrFPValid(int pr_fpvalid)
|
void |
setPrGPRegisterBuffer(byte[] buffer)
|
void |
setPrInfoSiCode(long pr_info_si_code)
|
void |
setPrInfoSiErrno(long pr_info_si_errno)
|
void |
setPrInfoSiSigno(long pr_info_si_signo)
|
void |
setPrPgrp(int pgrp)
Sets the Prstatus group pid value |
void |
setPrPid(int pid)
Sets the Prstatus pid value |
void |
setPrPpid(int ppid)
Sets the Prstatus parent pid value |
void |
setPrSid(int sid)
Sets the Prstatus session id value |
void |
setPrSigHold(long sighold)
Sets the Prstatus signal hold id value |
void |
setPrSigPending(long sigpend)
Sets the Prstatus signal pending id value |
void |
setPrStimeSec(long newPrStimeSec)
Set the Pr_Utime_Usec value. |
void |
setPrStimeUsec(long newPrStimeUsec)
Set the Pr_Stime_Usec value. |
void |
setPrUtimeSec(long newPrUtimeSec)
Set the Pr_Utime_Usec value. |
void |
setPrUtimeUsec(long newPrUtimeUsec)
Set the Pr_Utime_Usec value. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ElfPrstatus(int size)
Method Detail |
---|
public void printAll()
public static ElfPrstatus[] decode(ElfData noteData)
public byte[] getRawCoreRegisters()
public ArrayList getThreadData()
public void setPrPid(int pid)
pr_pid
- public int getPrPid()
public void setPrPpid(int ppid)
pr_ppid
- public int getPrPpid()
public void setPrPgrp(int pgrp)
pr_pgrp
- public int getPrPgrp()
public void setPrSid(int sid)
pr_sid
- public int getPrSid()
public void setPrSigPending(long sigpend)
pr_sigpend
- public long getPrSigPending()
public void setPrSigHold(long sighold)
pr_sighold
- public long getPrSigHold()
public void setPrCurSig(long sigcur)
pr_cursig
- public long getPrCurSig()
public void setPrGPRegisterBuffer(byte[] buffer)
public void setPrInfoSiSigno(long pr_info_si_signo)
public long getPrInfoSiSigno()
public void setPrInfoSiCode(long pr_info_si_code)
public long getPrInfoSiCode()
public void setPrInfoSiErrno(long pr_info_si_errno)
public long getPrInfoSiErrno()
public void setPrFPValid(int pr_fpvalid)
public long getPrFPValid()
public final long getPrUtimeUsec()
Pr_Utime_Usec
value.
long
valuepublic final void setPrUtimeUsec(long newPrUtimeUsec)
Pr_Utime_Usec
value.
newPr_Utime_Usec
- The new Pr_Utime_Usec value.public final long getPrUtimeSec()
Pr_Utime_Usec
value.
long
valuepublic final void setPrUtimeSec(long newPrUtimeSec)
Pr_Utime_Usec
value.
newPr_Utime_Usec
- The new Pr_Utime_Usec value.public final long getPrCUtimeUsec()
pr_cutime_usec
value.
long
valuepublic final void setPrCUtimeUsec(long newPrCUtimeUsec)
pr_cutime_usec
value.
newPrCUtimeUsec
- The new PrCUtimeUsec value.public final long getPrCUtimeSec()
pr_cutime_sec
value.
long
valuepublic final void setPrCUtimeSec(long newPrCUtimeSec)
pr_cutime_sec
value.
newPrUtimeUsec
- The new Pr_Utime_Usec value.public final long getPrStimeUsec()
Pr_Stime_Usec
value.
long
valuepublic final void setPrStimeUsec(long newPrStimeUsec)
Pr_Stime_Usec
value.
newPrStimeUsec
- The new Pr_Utime_Usec value.public final long getPrStimeSec()
Pr_Stime_Usec
value.
long
valuepublic final void setPrStimeSec(long newPrStimeSec)
Pr_Utime_Usec
value.
newPr_Utime_Usec
- The new Pr_Utime_Usec value.public final long getPrCStimeUsec()
pr_sctime_usec
value.
long
valuepublic final void setPrCStimeUsec(long newPrCStimeUsec)
pr_cstime_usec
value.
newPrCStimeUsec
- The new Pr_CStime_Usec value.public final long getPrCStimeSec()
>pr_cstime_sec
value.
long
valuepublic final void setPrCStimeSec(long newPrCStimeSec)
pr_cstime_secc
value.
newPr_CStime_sec
- The new Pr_CStime_sec value.public int getSize()
public static long getNoteData(ElfData data)
public long getEntrySize()
getEntrySize
in class ElfNhdr.ElfNoteSectionEntry
public long fillMemRegion(byte[] buffer, long startAddress)
fillMemRegion
in class ElfNhdr.ElfNoteSectionEntry
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |