public interface ELFFile
Modifier and Type | Field and Description |
---|---|
static byte |
CLASS_32
32-bit objects.
|
static byte |
CLASS_64
64-bit objects.
|
static byte |
CLASS_INVALID |
static byte |
DATA_INVALID
No data encoding.
|
static byte |
DATA_LSB
LSB data encoding.
|
static byte |
DATA_MSB
MSB data encoding.
|
static byte[] |
ELF_MAGIC_NUMBER
ELF magic number.
|
static byte |
NDX_ENCODING |
static byte |
NDX_MAGIC_0 |
static byte |
NDX_MAGIC_1 |
static byte |
NDX_MAGIC_2 |
static byte |
NDX_MAGIC_3 |
static byte |
NDX_OBJECT_SIZE |
static byte |
NDX_VERSION |
static byte |
VERSION_CURRENT
Current ELF header version.
|
static byte |
VERSION_INVALID
No ELF header version.
|
Modifier and Type | Method and Description |
---|---|
void |
close() |
byte |
getEncoding()
Returns a byte identifying the data encoding of the processor specific
data.
|
ELFHeader |
getHeader() |
byte[] |
getMagicNumber()
Returns the 4 byte magic number for this file.
|
byte |
getObjectSize()
Returns a byte identifying the size of objects used for this ELF
file.
|
byte |
getVersion()
Returns one of the version constants.
|
static final byte[] ELF_MAGIC_NUMBER
static final byte CLASS_INVALID
static final byte CLASS_32
static final byte CLASS_64
static final byte DATA_INVALID
static final byte DATA_LSB
static final byte DATA_MSB
static final byte VERSION_INVALID
static final byte VERSION_CURRENT
static final byte NDX_MAGIC_0
static final byte NDX_MAGIC_1
static final byte NDX_MAGIC_2
static final byte NDX_MAGIC_3
static final byte NDX_OBJECT_SIZE
static final byte NDX_ENCODING
static final byte NDX_VERSION
ELFHeader getHeader()
void close()
byte[] getMagicNumber()
byte getObjectSize()
byte getEncoding()
byte getVersion()
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.