public interface

IELFSymbolProcessor

com.pnfsoftware.jeb.core.units.codeobject.IELFSymbolProcessor

Class Overview

Definition of an ELF symbol processors. Custom processors for a given architecture can be added by implementing this interface and registering the object via the ELFPluginsService.

Summary

Public Methods
abstract boolean canImmediatelyUseSymbol()
Indicates if the symbol can be immediately used or shall be post processed and filtered.
abstract Iterable<ISymbolInformation> getSymbols(Iterable<? extends ISymbolInformation> list)
Retrieve all symbols that can be safely used.
abstract ISymbolInformation processSymbol(IELFSymbolEntry symbol)
Process a symbol entry (architecture specific)

Public Methods

public abstract boolean canImmediatelyUseSymbol ()

Indicates if the symbol can be immediately used or shall be post processed and filtered.

public abstract Iterable<ISymbolInformation> getSymbols (Iterable<? extends ISymbolInformation> list)

Retrieve all symbols that can be safely used.

Allowed policy: AdditionPolicy#AT_END

Forbidden policy: AdditionPolicy#IMMEDIATE

Returns
  • the list of safe symbols

public abstract ISymbolInformation processSymbol (IELFSymbolEntry symbol)

Process a symbol entry (architecture specific)

Parameters
symbol Symbol to process
Returns
  • symbol if specific to current processor, null otherwise