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 long
final long
final IELFUnit
final Endianness
final IVirtualMemory
final IELFRelocationEntry
final IELFRelocationTable
final IELFSymbolEntry
final long
final long
-
Constructor Summary
ConstructorsConstructorDescriptionELFStandardRelocOperations
(IELFRelocationApplicator.RelocatedFile relocEnvironment, IELFRelocationApplicator.RelocInstance relocInstance) -
Method Summary
Modifier and TypeMethodDescriptionlong
A()
Represents the addend used to compute the value of the relocatable field.long
B()
long
P()
Represents the place (section offset or address) of the storage unit being relocatedlong
S()
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()
-