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

public class BindingTable extends Object
A Mach-O binding table
See Also:
  • Constructor Details

    • BindingTable

      public BindingTable()
      Creates an empty BindingTable
    • BindingTable

      public BindingTable(BinaryReader reader, MachHeader header, int tableSize, boolean lazy) throws IOException
      Creates and parses a new BindingTable
      Parameters:
      reader - A reader positioned at the start of the binding table
      header - The header
      tableSize - The size of the table, in bytes
      lazy - True if this is a lazy binding table; otherwise, false
      Throws:
      IOException - if an IO-related error occurs while parsing
  • Method Details

    • getBindings

      public List<BindingTable.Binding> getBindings()
      Returns the bindings.
      Returns:
      the bindings
    • getThreadedBindings

      public List<BindingTable.Binding> getThreadedBindings()
      Returns the threaded bindings, or null if threaded bindings are not being used.
      Returns:
      the threaded bindings, or null if threaded bindings are not being used
    • getOpcodeOffsets

      public List<Long> getOpcodeOffsets()
      Returns opcode offsets from the start of the bind data.
      Returns:
      opcode offsets from the start of the bind data
    • getUlebOffsets

      public List<Long> getUlebOffsets()
      Returns ULEB128 offsets from the start of the bind data.
      Returns:
      ULEB128 offsets from the start of the bind data
    • getSlebOffsets

      public List<Long> getSlebOffsets()
      Returns SLEB128 offsets from the start of the bind data.
      Returns:
      SLEB128 offsets from the start of the bind data
    • getStringOffsets

      public List<Long> getStringOffsets()
      Returns string offsets from the start of the bind data.
      Returns:
      string offsets from the start of the bind data