class MachO::LoadCommands::DysymtabCommand

A load command containing symbolic information needed to support data structures used by the dynamic link editor. Corresponds to LC_DYSYMTAB.

Constants

FORMAT

@see MachOStructure::FORMAT @api private

SIZEOF

@see MachOStructure::SIZEOF @api private

Attributes

extrefsymoff[R]

@return [Fixnum] the file offset to the referenced symbol table

extreloff[R]

@return [Fixnum] the file offset to the external relocation entries

iextdefsym[R]

@return [Fixnum] the index to externally defined symbols

ilocalsym[R]

@return [Fixnum] the index to local symbols

indirectsymoff[R]

@return [Fixnum] the file offset to the indirect symbol table

iundefsym[R]

@return [Fixnum] the index to undefined symbols

locreloff[R]

@return [Fixnum] the file offset to the local relocation entries

modtaboff[R]

@return [Fixnum] the file offset to the module table

nextdefsym[R]

@return [Fixnum] the number of externally defined symbols

nextrefsyms[R]

@return [Fixnum] the number of entries in the referenced symbol table

nextrel[R]

@return [Fixnum] the number of external relocation entries

nindirectsyms[R]

@return [Fixnum] the number of entries in the indirect symbol table

nlocalsym[R]

@return [Fixnum] the number of local symbols

nlocrel[R]

@return [Fixnum] the number of local relocation entries

nmodtab[R]

@return [Fixnum] the number of entries in the module table

ntoc[R]

@return [Fixnum] the number of entries in the table of contents

nundefsym[R]

@return [Fixnum] the number of undefined symbols

tocoff[R]

@return [Fixnum] the file offset to the table of contents

Public Class Methods

new(view, cmd, cmdsize, ilocalsym, nlocalsym, iextdefsym, nextdefsym, iundefsym, nundefsym, tocoff, ntoc, modtaboff, nmodtab, extrefsymoff, nextrefsyms, indirectsymoff, nindirectsyms, extreloff, nextrel, locreloff, nlocrel) click to toggle source

ugh @api private

Calls superclass method MachO::LoadCommands::LoadCommand::new
# File lib/macho/load_commands.rb, line 839
def initialize(view, cmd, cmdsize, ilocalsym, nlocalsym, iextdefsym,
               nextdefsym, iundefsym, nundefsym, tocoff, ntoc, modtaboff,
               nmodtab, extrefsymoff, nextrefsyms, indirectsymoff,
               nindirectsyms, extreloff, nextrel, locreloff, nlocrel)
  super(view, cmd, cmdsize)
  @ilocalsym = ilocalsym
  @nlocalsym = nlocalsym
  @iextdefsym = iextdefsym
  @nextdefsym = nextdefsym
  @iundefsym = iundefsym
  @nundefsym = nundefsym
  @tocoff = tocoff
  @ntoc = ntoc
  @modtaboff = modtaboff
  @nmodtab = nmodtab
  @extrefsymoff = extrefsymoff
  @nextrefsyms = nextrefsyms
  @indirectsymoff = indirectsymoff
  @nindirectsyms = nindirectsyms
  @extreloff = extreloff
  @nextrel = nextrel
  @locreloff = locreloff
  @nlocrel = nlocrel
end