lib.dwfl
Class ElfNhdr
java.lang.Object
lib.dwfl.ElfNhdr
public class ElfNhdr
- extends Object
ElfNhdr
public ElfNhdr()
getName
public String getName()
getNameSize
public long getNameSize()
setName
public void setName(String nhdrName)
getNhdrType
public ElfNhdrType getNhdrType()
getNhdrDesc
public ElfNhdr.ElfNoteSectionEntry getNhdrDesc()
getDescSize
public long getDescSize()
setNhdrDesc
public void setNhdrDesc(ElfNhdrType nhdrType,
ElfNhdr.ElfNoteSectionEntry nhdrDesc)
getNhdrEntrySize
public long getNhdrEntrySize()
- Get the whole size of Nhdr (incluing the namesz and descsz).
- Returns:
getNhdrSize
public int getNhdrSize()
- Just get the size of Nhdr struct.
- Returns:
fillMemRegion
public long fillMemRegion(byte[] buffer,
long startAddress)
- Fill the region starting from startAddress in buffer according to this ElfNhdr object.
- Parameters:
noteSecBuffer
- startAddress
-
- Returns: