public final class ElfSymbol extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static int |
BINDING_GLOBAL
Binding specifying that global symbols are visible to all object files being combined.
|
static int |
BINDING_HIPROC
Upper bound binding values reserved for processor specific semantics.
|
static int |
BINDING_LOCAL
Binding specifying that local symbols are not visible outside the object file that contains its definition.
|
static int |
BINDING_LOPROC
Lower bound binding values reserved for processor specific semantics.
|
static int |
BINDING_WEAK
Binding specifying that the symbol resembles a global symbol, but has a lower precedence.
|
long |
offset
Offset from the beginning of the file to this symbol.
|
short |
other
Currently holds the value of 0 and has no meaning.
|
short |
section_header_ndx
Index to the associated section header.
|
long |
size
Size of the symbol. 0 if the symbol has no size or the size is unknown.
|
static byte |
STT_COMMON
The symbol labels an uninitialized common block.
|
static byte |
STT_FILE
Type defining that the symbol is associated with a file.
|
static byte |
STT_FUNC
Type specifying that the symbol is associated with a function or other executable code.
|
static byte |
STT_HIOS
Upper bound for range reserved for operating system-specific semantics.
|
static byte |
STT_HIPROC
Upper bound for range reserved for processor-specific semantics.
|
static byte |
STT_LOOS
Lower bound for range reserved for operating system-specific semantics.
|
static byte |
STT_LOPROC
Lower bound for range reserved for processor-specific semantics.
|
static byte |
STT_NOTYPE
Type specifying that the symbol is unspecified.
|
static byte |
STT_OBJECT
Type specifying that the symbol is associated with an object.
|
static byte |
STT_SECTION
Type specifying that the symbol is associated with a section.
|
static byte |
STT_TLS
The symbol specifies a Thread-Local Storage entity.
|
long |
value
Value of the associated symbol.
|
public static final int BINDING_LOCAL
public static final int BINDING_GLOBAL
public static final int BINDING_WEAK
public static final int BINDING_LOPROC
public static final int BINDING_HIPROC
public static final byte STT_NOTYPE
public static final byte STT_OBJECT
public static final byte STT_FUNC
public static final byte STT_SECTION
public static final byte STT_FILE
public static final byte STT_COMMON
public static final byte STT_TLS
public static final byte STT_LOOS
public static final byte STT_HIOS
public static final byte STT_LOPROC
public static final byte STT_HIPROC
public final long value
public final long size
public final short other
public final short section_header_ndx
public final long offset
public int getBinding()
public int getType()
public String getName() throws ElfException, IOException
public boolean isUndef()
Copyright © 2021. All rights reserved.