lib.dwfl
Class ElfPrAuxv

java.lang.Object
  extended by lib.dwfl.ElfNhdr.ElfNoteSectionEntry
      extended by lib.dwfl.ElfPrAuxv

public class ElfPrAuxv
extends ElfNhdr.ElfNoteSectionEntry

Java Representation of the the NT_AUXV notes secion found in core files


Constructor Summary
ElfPrAuxv(int length, int wordSize, ByteOrder byteOrder)
           
 
Method Summary
static ElfPrAuxv decode(ElfData noteData)
           
 long fillMemRegion(byte[] buffer, long startAddress)
          This is called when the notes section is filled.
 byte[] getByteArray()
           
 ByteBuffer getByteBuffer()
          Return auxv data, in raw form
 long getEntrySize()
          Returns the entry size associated with this notes buffer.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ElfPrAuxv

public ElfPrAuxv(int length,
                 int wordSize,
                 ByteOrder byteOrder)
Method Detail

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