Package ghidra.app.util.bin.format.macho.commands.dyld

# Class RebaseTable

java.lang.Object
ghidra.app.util.bin.format.macho.commands.dyld.OpcodeTable
ghidra.app.util.bin.format.macho.commands.dyld.RebaseTable

public class RebaseTable extends OpcodeTable
A Mach-O rebase table

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `RebaseTable.Rebase`
  A piece of rebase information from a `RebaseTable`

- ## Field Summary

  ### Fields inherited from class ghidra.app.util.bin.format.macho.commands.dyld.OpcodeTable

  `opcodeOffsets, slebOffsets, stringOffsets, ulebOffsets`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `RebaseTable()`
  Creates an empty `RebaseTable`
  `RebaseTable(BinaryReader reader, MachHeader header, long tableSize)`
  Creates and parses a new `RebaseTable`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `List<RebaseTable.Rebase>`
  `getRebases()`
  Returns the rebases.

  ### Methods inherited from class ghidra.app.util.bin.format.macho.commands.dyld.OpcodeTable

  `getOpcodeOffsets, getSlebOffsets, getStringOffsets, getUlebOffsets`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### RebaseTable

    public RebaseTable()
    Creates an empty `RebaseTable`

  - ### RebaseTable

    public RebaseTable(BinaryReader reader, MachHeader header, long tableSize) throws IOException
    Creates and parses a new `RebaseTable`
    Parameters:
      `reader` - A `reader` positioned at the start of the rebase table
      `header` - The header
      `tableSize` - The size of the table, in bytes
    Throws:
      `IOException` - if an IO-related error occurs while parsing

- ## Method Details

  - ### getRebases

    public List<RebaseTable.Rebase> getRebases()
    Returns the rebases.
    Returns:
      the rebases