Class ELFRelocationApplicator<T extends ELFStandardRelocOperations>
java.lang.Object
com.pnfsoftware.jeb.core.units.codeobject.ELFRelocationApplicator<T>
- Type Parameters:
T- relocation operation helper type
- All Implemented Interfaces:
IELFRelocationApplicator
- Direct Known Subclasses:
ELFStandardRelocator
public abstract class ELFRelocationApplicator<T extends ELFStandardRelocOperations>
extends Object
implements IELFRelocationApplicator
Base class for ELF relocation applicators. Use the
ELFStandardRelocator for relocations
using ELFStandardRelocOperations.-
Nested Class Summary
Nested classes/interfaces inherited from interface com.pnfsoftware.jeb.core.units.codeobject.IELFRelocationApplicator
IELFRelocationApplicator.RelocatedFile, IELFRelocationApplicator.RelocInstance -
Constructor Summary
ConstructorsConstructorDescriptionELFRelocationApplicator(int type) Create an applicator for a relocation type. -
Method Summary
Modifier and TypeMethodDescriptionprotected abstract voidapplyInternal(T o) Apply a relocation using the provided operations.intgetType()Get the relocation type.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.pnfsoftware.jeb.core.units.codeobject.IELFRelocationApplicator
apply, canApply
-
Constructor Details
-
ELFRelocationApplicator
public ELFRelocationApplicator(int type) Create an applicator for a relocation type.- Parameters:
type- relocation type
-
-
Method Details
-
getType
public int getType()Description copied from interface:IELFRelocationApplicatorGet the relocation type.- Specified by:
getTypein interfaceIELFRelocationApplicator- Returns:
- relocation type
-
applyInternal
Apply a relocation using the provided operations.- Parameters:
o- relocation operations- Throws:
MemoryException- if relocation application fails
-