class OdinFlex::MachO::LC_DYSYMTAB

Constants

SIZE
VALUE

Attributes

extrefsymoff[R]
extreloff[R]
iextdefsym[R]
ilocalsym[R]
indirectsymoff[R]
iundefsym[R]
locreloff[R]
modtaboff[R]
nextdefsym[R]
nextrefsyms[R]
nextrel[R]
nindirectsyms[R]
nlocalsym[R]
nlocrel[R]
nmodtab[R]
ntoc[R]
nundefsym[R]
tocoff[R]

Public Class Methods

from_io(cmd, size, offset, io) click to toggle source
# File lib/odinflex/mach-o.rb, line 338
def self.from_io cmd, size, offset, io
  new(cmd, size, *io.read(SIZE).unpack('L18'))
end
new(cmd, size, ilocalsym, nlocalsym, iextdefsym, nextdefsym, iundefsym, nundefsym, tocoff, ntoc, modtaboff, nmodtab, extrefsymoff, nextrefsyms, indirectsymoff, nindirectsyms, extreloff, nextrel, locreloff, nlocrel) click to toggle source
Calls superclass method OdinFlex::MachO::Command::new
# File lib/odinflex/mach-o.rb, line 361
def initialize cmd,
  size,
  ilocalsym,
  nlocalsym,
  iextdefsym,
  nextdefsym,
  iundefsym,
  nundefsym,
  tocoff,
  ntoc,
  modtaboff,
  nmodtab,
  extrefsymoff,
  nextrefsyms,
  indirectsymoff,
  nindirectsyms,
  extreloff,
  nextrel,
  locreloff,
  nlocrel
  super(cmd, size)

  @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

Public Instance Methods

dysymtab?() click to toggle source
# File lib/odinflex/mach-o.rb, line 403
def dysymtab?; true; end