Class ELFRelocationContext

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

public abstract class ELFRelocationContext extends Object
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.

  • Constructor Details

  • Method Details

    • getApplicableRelocations

      public List<ELFRelocationApplicator<?>> getApplicableRelocations()
    • canApply

      public abstract boolean canApply(IELFUnit elfUnit, long actualImageBase)
      Override to check if the context applies to the given file.
    • isMappedAtPreferredAddress

      protected boolean isMappedAtPreferredAddress(IELFUnit elfUnit, long actualImageBase)