public interface

IELFRelocationApplicator

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

Class Overview

Apply one specific relocation type.

Summary

Nested Classes
class IELFRelocationApplicator.RelocInstance Relocation features needed for application  
class IELFRelocationApplicator.RelocatedFile File where the relocation is applied  
Public Methods
abstract void apply(IELFRelocationApplicator.RelocatedFile relocatedFile, IELFRelocationApplicator.RelocInstance relocInstance)
Apply the relocation on the provided 'file' instance.
abstract boolean canApply(IELFRelocationApplicator.RelocInstance relocInstance)
Determine whether the relocation can be applied.
abstract int getType()
Get the relocation type.

Public Methods

public abstract void apply (IELFRelocationApplicator.RelocatedFile relocatedFile, IELFRelocationApplicator.RelocInstance relocInstance)

Apply the relocation on the provided 'file' instance.

public abstract boolean canApply (IELFRelocationApplicator.RelocInstance relocInstance)

Determine whether the relocation can be applied. By default, the relocation is not applied when the symbol, if there is one, is not mapped. This is particularly important to avoid applying meaningless relocations in static analysis context.

public abstract int getType ()

Get the relocation type.