|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lib.dwfl.ElfEHeader
public final class ElfEHeader
An ElfEHeader is a header for and Elf file. This appears at the start of every Elf file.
Field Summary | |
---|---|
static int |
CLASS
|
static int |
CLASS32
|
static int |
CLASS64
|
static int |
CLASSNONE
|
static int |
DATA
|
static int |
DATA2LSB
|
static int |
DATA2MSB
|
static int |
DATANONE
|
int |
ehsize
|
long |
entry
|
int |
flags
|
byte[] |
ident
|
int |
machine
|
static int |
NIDENT
|
static int |
PHEADER_ET_CORE
|
static int |
PHEADER_ET_DYN
|
static int |
PHEADER_ET_EXEC
|
static int |
PHEADER_ET_HIOS
|
static int |
PHEADER_ET_HIPROC
|
static int |
PHEADER_ET_LOOS
|
static int |
PHEADER_ET_LOPROC
|
static int |
PHEADER_ET_NONE
|
static int |
PHEADER_ET_NUM
|
static int |
PHEADER_ET_REL
|
int |
phentsize
|
int |
phnum
|
long |
phoff
|
int |
shentsize
|
int |
shnum
|
long |
shoff
|
int |
shstrndx
|
int |
type
|
long |
version
|
Constructor Summary | |
---|---|
ElfEHeader()
|
Method Summary | |
---|---|
ByteOrder |
getByteOrder()
Interpret the IDENT field; extracting the byte order. |
int |
getWordSize()
Interpret the IDENT field; extracting the word-size. |
ElfEHeader |
setByteOrder(ByteOrder order)
Encode SIZE into the IDENT field. |
ElfEHeader |
setWordSize(int size)
Encode SIZE into the IDENT field. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int CLASSNONE
public static final int CLASS32
public static final int CLASS64
public static final int CLASS
public static final int DATANONE
public static final int DATA2LSB
public static final int DATA2MSB
public static final int DATA
public static final int PHEADER_ET_NONE
public static final int PHEADER_ET_REL
public static final int PHEADER_ET_EXEC
public static final int PHEADER_ET_DYN
public static final int PHEADER_ET_CORE
public static final int PHEADER_ET_NUM
public static final int PHEADER_ET_LOOS
public static final int PHEADER_ET_HIOS
public static final int PHEADER_ET_LOPROC
public static final int PHEADER_ET_HIPROC
public static final int NIDENT
public byte[] ident
public int type
public int machine
public long version
public long entry
public long phoff
public long shoff
public int flags
public int ehsize
public int phentsize
public int phnum
public int shentsize
public int shnum
public int shstrndx
Constructor Detail |
---|
public ElfEHeader()
Method Detail |
---|
public int getWordSize()
public ElfEHeader setWordSize(int size)
public ByteOrder getByteOrder()
public ElfEHeader setByteOrder(ByteOrder order)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |