Class ELFStandardRelocOperations

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

public class ELFStandardRelocOperations extends Object
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 Details

    • elfUnit

      public final IELFUnit elfUnit
    • mem

      public final IVirtualMemory mem
    • actualImageBase

      public final long actualImageBase
    • theoriticalImageBase

      public final long theoriticalImageBase
    • deltaImageBase

      public final long deltaImageBase
    • se

      public final IELFSymbolEntry se
    • relocEntry

      public final IELFRelocationEntry relocEntry
    • relocTable

      public final IELFRelocationTable relocTable
    • targetAddress

      public final long targetAddress
    • endianness

      public final Endianness endianness
  • Constructor Details

  • Method Details

    • A

      public long A() throws MemoryException
      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()