APIdia Launch Partner
Top Fields Methods
sun.jvm.hotspot.debugger.posix.elf

public Interface ELFSymbol

Known Direct Implementers
sun.jvm.hotspot.debugger.posix.elf.ELFFileParser.ELFFileImpl.ELFSymbolImpl

Field Summary

Modifier and TypeField and Description
public static final int
BINDING_GLOBAL

Binding specifying that global symbols are visible to all object files being combined.

public static final int
BINDING_HIPROC

Upper bound binding values reserved for processor specific semantics.

public static final int
BINDING_LOCAL

Binding specifying that local symbols are not visible outside the object file that contains its definition.

public static final int
BINDING_LOPROC

Lower bound binding values reserved for processor specific semantics.

public static final int
BINDING_WEAK

Binding secifying that the symbol resembles a global symbol, but has a lower precedence.

public static final byte
TYPE_FILE

Type defining that the symbol is associated with a file.

public static final byte
TYPE_FUNCTION

Type specifying that the symbol is associated with a function.

public static final byte
TYPE_HIPROC

Upper bound type reserved for processor specific semantics.

public static final byte
TYPE_LOPROC

Lower bound type reserved for processor specific semantics.

public static final byte
TYPE_NOOBJECT

Type specifying that the symbol is unspecified.

public static final byte
TYPE_OBJECT

Type specifying that the symbol is associated with an object.

public static final byte
TYPE_SECTION

Type specifying that the symbol is associated with a section.

Method Summary

Modifier and TypeMethod and Description
public int
getBinding()

Returns the binding for this symbol.

public String
getName()

Returns the name of the symbol or null if the symbol has no name.

public long
getOffset()

Returns the location from the beginning of the file to the symbol.

public long
getSize()

Size of the symbol.

public int
getType()

Returns the symbol type.

public long
getValue()

Value of the associated symbol.

Field Detail

BINDING_GLOBALback to summary
public static final int BINDING_GLOBAL

Binding specifying that global symbols are visible to all object files being combined.

BINDING_HIPROCback to summary
public static final int BINDING_HIPROC

Upper bound binding values reserved for processor specific semantics.

BINDING_LOCALback to summary
public static final int BINDING_LOCAL

Binding specifying that local symbols are not visible outside the object file that contains its definition.

BINDING_LOPROCback to summary
public static final int BINDING_LOPROC

Lower bound binding values reserved for processor specific semantics.

BINDING_WEAKback to summary
public static final int BINDING_WEAK

Binding secifying that the symbol resembles a global symbol, but has a lower precedence.

TYPE_FILEback to summary
public static final byte TYPE_FILE

Type defining that the symbol is associated with a file.

TYPE_FUNCTIONback to summary
public static final byte TYPE_FUNCTION

Type specifying that the symbol is associated with a function.

TYPE_HIPROCback to summary
public static final byte TYPE_HIPROC

Upper bound type reserved for processor specific semantics.

TYPE_LOPROCback to summary
public static final byte TYPE_LOPROC

Lower bound type reserved for processor specific semantics.

TYPE_NOOBJECTback to summary
public static final byte TYPE_NOOBJECT

Type specifying that the symbol is unspecified.

TYPE_OBJECTback to summary
public static final byte TYPE_OBJECT

Type specifying that the symbol is associated with an object.

TYPE_SECTIONback to summary
public static final byte TYPE_SECTION

Type specifying that the symbol is associated with a section. Symbol table entries of this type exist for relocation and normally have the binding BINDING_LOCAL.

Method Detail

getBindingback to summary
public int getBinding()

Returns the binding for this symbol.

getNameback to summary
public String getName()

Returns the name of the symbol or null if the symbol has no name.

getOffsetback to summary
public long getOffset()

Returns the location from the beginning of the file to the symbol.

getSizeback to summary
public long getSize()

Size of the symbol. 0 if the symbol has no size or the size is unknown.

getTypeback to summary
public int getType()

Returns the symbol type.

getValueback to summary
public long getValue()

Value of the associated symbol. This may be a relativa address for .so or absolute address for other ELFs.