public class

SymbolInformation

extends Object
implements ISymbolInformation
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.units.codeobject.SymbolInformation

Class Overview

Standard implementation of ISymbolInformation.

Summary

[Expand]
Inherited Constants
From interface com.pnfsoftware.jeb.core.units.codeobject.ISymbolInformation
Public Constructors
SymbolInformation(SymbolType type, int flags, long identifier, String name, long address, long symbolAddress, long symbolSize)
Public Methods
boolean equals(Object obj)
int getFlags()
Get the symbol flags.
long getIdentifier()
Get the symbol identifier.
String getName()
Get the symbol name.
int getProcessorMode()
Retrieve the optional processor mode associated to this symbol, if the address points to code.
long getRelativeAddress()
Get the base-relative address of the description of the symbol.
String getSymbolDataTypeInformation()
long getSymbolRelativeAddress()
Get the base-relative address of the symbol.
long getSymbolSize()
Get the size of the symbol.
SymbolType getType()
Get the symbol type.
int hashCode()
boolean isInternal()
Checks if the symbol is neither exported nor imported.
void setFlags(int flags)
void setIdentifier(long identifier)
void setName(String name)
void setProcessorMode(int procMode)
void setRelativeAddress(long address)
void setSymbolDataTypeInformation(String information)
void setSymbolRelativeAddress(long address)
void setSymbolSize(long size)
void setType(SymbolType type)
String toString()
[Expand]
Inherited Methods
From class java.lang.Object
From interface com.pnfsoftware.jeb.core.units.codeobject.ISymbolInformation

Public Constructors

public SymbolInformation (SymbolType type, int flags, long identifier, String name, long address, long symbolAddress, long symbolSize)

Public Methods

public boolean equals (Object obj)

public int getFlags ()

Get the symbol flags. A valid combination of FLAG_xxx.

Returns
  • the flags

public long getIdentifier ()

Get the symbol identifier. Optional.

Returns
  • the symbol identifier

public String getName ()

Get the symbol name.

Special syntax for imported functions: the function name may be prefixed by the library name that contains it. A bang character is used as a separator. Example: kernel32.dll!Sleep
Note: the method name may be mangled; it may be fully qualified. The library name is optional; its extension is optional (eg, .dll, .so); it may be a full path.

Returns
  • the symbol name

public int getProcessorMode ()

Retrieve the optional processor mode associated to this symbol, if the address points to code. This value is optional, implementations may return 0.

Returns
  • the optional processor mode (refer to IProcessor for standard values)

public long getRelativeAddress ()

Get the base-relative address of the description of the symbol. Informative and optional.

Returns
  • the base-relative address of the symbol description

public String getSymbolDataTypeInformation ()

public long getSymbolRelativeAddress ()

Get the base-relative address of the symbol.

Returns
  • the symbol RVA

public long getSymbolSize ()

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

Returns
  • the symbol size

public SymbolType getType ()

Get the symbol type.

Returns
  • the type

public int hashCode ()

public boolean isInternal ()

Checks if the symbol is neither exported nor imported.

public void setFlags (int flags)

public void setIdentifier (long identifier)

public void setName (String name)

public void setProcessorMode (int procMode)

public void setRelativeAddress (long address)

public void setSymbolDataTypeInformation (String information)

public void setSymbolRelativeAddress (long address)

public void setSymbolSize (long size)

public void setType (SymbolType type)

public String toString ()