Class ELFStandardRelocOperations
java.lang.Object
com.pnfsoftware.jeb.core.units.codeobject.ELFStandardRelocOperations
Default implementation for ELF relocation operations, for a given relocation. It can be
overridden to add operations or customize existing common operations (A, S, P, B).
This class contains operations shared among architectures.
-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal longfinal longfinal IELFUnitfinal Endiannessfinal IVirtualMemoryfinal IELFRelocationEntryfinal IELFRelocationTablefinal IELFSymbolEntryfinal longfinal long -
Constructor Summary
ConstructorsConstructorDescriptionELFStandardRelocOperations(IELFRelocationApplicator.RelocatedFile relocEnvironment, IELFRelocationApplicator.RelocInstance relocInstance) -
Method Summary
Modifier and TypeMethodDescriptionlongA()Represents the addend used to compute the value of the relocatable field.longB()longP()Represents the place (section offset or address) of the storage unit being relocatedlongS()Represents the value of the symbol whose index resides in the relocation entry.
-
Field Details
-
elfUnit
-
mem
-
actualImageBase
public final long actualImageBase -
theoriticalImageBase
public final long theoriticalImageBase -
deltaImageBase
public final long deltaImageBase -
se
-
relocEntry
-
relocTable
-
targetAddress
public final long targetAddress -
endianness
-
-
Constructor Details
-
ELFStandardRelocOperations
public ELFStandardRelocOperations(IELFRelocationApplicator.RelocatedFile relocEnvironment, IELFRelocationApplicator.RelocInstance relocInstance)
-
-
Method Details
-
A
Represents the addend used to compute the value of the relocatable field.- Throws:
MemoryException
-
S
public long S()Represents the value of the symbol whose index resides in the relocation entry. -
P
public long P()Represents the place (section offset or address) of the storage unit being relocated -
B
public long B()
-