com.pnfsoftware.jeb.core.units.codeobject.IELFRelocationApplicator |
Known Indirect Subclasses |
Apply one specific relocation type.
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.
|
Apply the relocation on the provided 'file' instance.
MemoryException |
---|
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.
Get the relocation type.