public interface

ISymbolInformation

com.pnfsoftware.jeb.core.units.codeobject.ISymbolInformation
Known Indirect Subclasses

Class Overview

Generic representation of a code symbol information. Method results are all optional; methods may return 0 or null if the data is irrelevant to the loader type they are part of.

Summary

Constants
int FLAG_EXPORTED
int FLAG_IMPORTED
Public Methods
abstract int getFlags()
Get the symbol flags.
abstract long getIdentifier()
Get the symbol identifier.
abstract String getName()
Get the symbol name.
abstract long getRelativeAddress()
Get the base-relative address of the description of the symbol.
abstract long getSymbolRelativeAddress()
Get the symbol offset in file.
abstract long getSymbolSize()
Get the size of the symbol.
abstract SymbolType getType()
Get the symbol type.

Constants

public static final int FLAG_EXPORTED

Constant Value: 2 (0x00000002)

public static final int FLAG_IMPORTED

Constant Value: 1 (0x00000001)

Public Methods

public abstract int getFlags ()

Get the symbol flags.

Returns
  • the flags

public abstract long getIdentifier ()

Get the symbol identifier.

Returns
  • the symbol identifier

public abstract String getName ()

Get the symbol name.

Returns
  • th symbol name

public abstract long getRelativeAddress ()

Get the base-relative address of the description of the symbol.

Returns
  • the base-relative address of the symbol description

public abstract long getSymbolRelativeAddress ()

Get the symbol offset in file.

Returns
  • the base-relative address of the symbol itself, if any

public abstract long getSymbolSize ()

Get the size of the symbol. May not be known.

Returns
  • the symbol size

public abstract SymbolType getType ()

Get the symbol type. A valid combination of FLAG_xxx.

Returns
  • the type