lib.dwfl
Class ElfPrAuxv
java.lang.Object
lib.dwfl.ElfNhdr.ElfNoteSectionEntry
lib.dwfl.ElfPrAuxv
public class ElfPrAuxv
- extends ElfNhdr.ElfNoteSectionEntry
Java Representation of the the NT_AUXV notes secion found in core
files
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
noteData
private byte[] noteData
noteBuffer
private ByteBuffer noteBuffer
ElfPrAuxv
public ElfPrAuxv(int length,
int wordSize,
ByteOrder byteOrder)
ElfPrAuxv
private ElfPrAuxv(Elf elf,
byte[] noteData)
decode
public static ElfPrAuxv decode(ElfData noteData)
getByteBuffer
public ByteBuffer getByteBuffer()
- Return auxv data, in raw form
getByteArray
public byte[] getByteArray()
getEntrySize
public long getEntrySize()
- Returns the entry size associated with this notes buffer.
- Specified by:
getEntrySize
in class ElfNhdr.ElfNoteSectionEntry
fillMemRegion
public long fillMemRegion(byte[] buffer,
long startAddress)
- This is called when the notes section is filled. Fill the
passed buffer with your own data, starting at startAddress
- Specified by:
fillMemRegion
in class ElfNhdr.ElfNoteSectionEntry
getNoteData
private static byte[] getNoteData(ElfData data)