public abstract class

ELFRelocationContext

extends Object
java.lang.Object
   ↳ com.pnfsoftware.jeb.core.units.codeobject.ELFRelocationContext

Class Overview

ELF relocation contexts can be registered using the ELFPluginsService.

A relocation context means a type of ELF (e.g. executable, or dynamic file) and an architecture (e.g. Arm). A context consists of one or more relocation applicators.

Summary

Public Constructors
ELFRelocationContext(ELFRelocationApplicator...<?> relocApplicators)
Public Methods
abstract boolean canApply(IELFUnit elfUnit, long actualImageBase)
Override to check if the context applies to the given file.
List<ELFRelocationApplicator<?>> getApplicableRelocations()
Protected Methods
boolean isMappedAtPreferredAddress(IELFUnit elfUnit, long actualImageBase)
[Expand]
Inherited Methods
From class java.lang.Object

Public Constructors

public ELFRelocationContext (ELFRelocationApplicator...<?> relocApplicators)

Public Methods

public abstract boolean canApply (IELFUnit elfUnit, long actualImageBase)

Override to check if the context applies to the given file.

public List<ELFRelocationApplicator<?>> getApplicableRelocations ()

Protected Methods

protected boolean isMappedAtPreferredAddress (IELFUnit elfUnit, long actualImageBase)