class MachO::LoadCommands::TwolevelHintsCommand

A load command containing the offset and number of hints in the two-level namespace lookup hints table. Corresponds to LC_TWOLEVEL_HINTS.

Constants

FORMAT

@see MachOStructure::FORMAT @api private

SIZEOF

@see MachOStructure::SIZEOF @api private

Attributes

htoffset[R]

@return [Fixnum] the offset to the hint table

nhints[R]

@return [Fixnum] the number of hints in the hint table

table[R]

@return [TwolevelHintsTable]

the hint table

Public Class Methods

new(view, cmd, cmdsize, htoffset, nhints) click to toggle source

@api private

Calls superclass method MachO::LoadCommands::LoadCommand.new
# File lib/macho/load_commands.rb, line 887
def initialize(view, cmd, cmdsize, htoffset, nhints)
  super(view, cmd, cmdsize)
  @htoffset = htoffset
  @nhints = nhints
  @table = TwolevelHintsTable.new(view, htoffset, nhints)
end