Class: MachO::DysymtabCommand

Inherits:
LoadCommand show all
Defined in:
lib/macho/load_commands.rb

Instance Attribute Summary collapse

Attributes inherited from LoadCommand

#cmd, #cmdsize, #offset

Instance Method Summary collapse

Methods inherited from LoadCommand

new_from_bin, #to_s

Methods inherited from MachOStructure

bytesize, new_from_bin

Constructor Details

#initialize(offset, cmd, cmdsize, ilocalsym, nlocalsym, iextdefsym, nextdefsym, iundefsym, nundefsym, tocoff, ntoc, modtaboff, nmodtab, extrefsymoff, nextrefsyms, indirectsymoff, nindirectsyms, extreloff, nextrel, locreloff, nlocrel) ⇒ DysymtabCommand

ugh



420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
# File 'lib/macho/load_commands.rb', line 420

def initialize(offset, cmd, cmdsize, ilocalsym, nlocalsym, iextdefsym,
    nextdefsym, iundefsym, nundefsym, tocoff, ntoc, modtaboff,
    nmodtab, extrefsymoff, nextrefsyms, indirectsymoff,
    nindirectsyms, extreloff, nextrel, locreloff, nlocrel)
  super(offset, 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

Instance Attribute Details

#extrefsymoffObject (readonly)

Returns the value of attribute extrefsymoff.



413
414
415
# File 'lib/macho/load_commands.rb', line 413

def extrefsymoff
  @extrefsymoff
end

#extreloffObject (readonly)

Returns the value of attribute extreloff.



414
415
416
# File 'lib/macho/load_commands.rb', line 414

def extreloff
  @extreloff
end

#iextdefsymObject (readonly)

Returns the value of attribute iextdefsym.



411
412
413
# File 'lib/macho/load_commands.rb', line 411

def iextdefsym
  @iextdefsym
end

#ilocalsymObject (readonly)

Returns the value of attribute ilocalsym.



411
412
413
# File 'lib/macho/load_commands.rb', line 411

def ilocalsym
  @ilocalsym
end

#indirectsymoffObject (readonly)

Returns the value of attribute indirectsymoff.



413
414
415
# File 'lib/macho/load_commands.rb', line 413

def indirectsymoff
  @indirectsymoff
end

#iundefsymObject (readonly)

Returns the value of attribute iundefsym.



412
413
414
# File 'lib/macho/load_commands.rb', line 412

def iundefsym
  @iundefsym
end

#locreloffObject (readonly)

Returns the value of attribute locreloff.



414
415
416
# File 'lib/macho/load_commands.rb', line 414

def locreloff
  @locreloff
end

#modtaboffObject (readonly)

Returns the value of attribute modtaboff.



412
413
414
# File 'lib/macho/load_commands.rb', line 412

def modtaboff
  @modtaboff
end

#nextdefsymObject (readonly)

Returns the value of attribute nextdefsym.



411
412
413
# File 'lib/macho/load_commands.rb', line 411

def nextdefsym
  @nextdefsym
end

#nextrefsymsObject (readonly)

Returns the value of attribute nextrefsyms.



413
414
415
# File 'lib/macho/load_commands.rb', line 413

def nextrefsyms
  @nextrefsyms
end

#nextrelObject (readonly)

Returns the value of attribute nextrel.



414
415
416
# File 'lib/macho/load_commands.rb', line 414

def nextrel
  @nextrel
end

#nindirectsymsObject (readonly)

Returns the value of attribute nindirectsyms.



414
415
416
# File 'lib/macho/load_commands.rb', line 414

def nindirectsyms
  @nindirectsyms
end

#nlocalsymObject (readonly)

Returns the value of attribute nlocalsym.



411
412
413
# File 'lib/macho/load_commands.rb', line 411

def nlocalsym
  @nlocalsym
end

#nlocrelObject (readonly)

Returns the value of attribute nlocrel.



414
415
416
# File 'lib/macho/load_commands.rb', line 414

def nlocrel
  @nlocrel
end

#nmodtabObject (readonly)

Returns the value of attribute nmodtab.



413
414
415
# File 'lib/macho/load_commands.rb', line 413

def nmodtab
  @nmodtab
end

#ntocObject (readonly)

Returns the value of attribute ntoc.



412
413
414
# File 'lib/macho/load_commands.rb', line 412

def ntoc
  @ntoc
end

#nundefsymObject (readonly)

Returns the value of attribute nundefsym.



412
413
414
# File 'lib/macho/load_commands.rb', line 412

def nundefsym
  @nundefsym
end

#tocoffObject (readonly)

Returns the value of attribute tocoff.



412
413
414
# File 'lib/macho/load_commands.rb', line 412

def tocoff
  @tocoff
end