Class: MachO::DysymtabCommand

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

Overview

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

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



647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
# File 'lib/macho/load_commands.rb', line 647

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.



625
626
627
# File 'lib/macho/load_commands.rb', line 625

def extrefsymoff
  @extrefsymoff
end

#extreloffObject (readonly)

Returns the value of attribute extreloff.



633
634
635
# File 'lib/macho/load_commands.rb', line 633

def extreloff
  @extreloff
end

#iextdefsymObject (readonly)

Returns the value of attribute iextdefsym.



609
610
611
# File 'lib/macho/load_commands.rb', line 609

def iextdefsym
  @iextdefsym
end

#ilocalsymObject (readonly)

Returns the value of attribute ilocalsym.



605
606
607
# File 'lib/macho/load_commands.rb', line 605

def ilocalsym
  @ilocalsym
end

#indirectsymoffObject (readonly)

Returns the value of attribute indirectsymoff.



629
630
631
# File 'lib/macho/load_commands.rb', line 629

def indirectsymoff
  @indirectsymoff
end

#iundefsymObject (readonly)

Returns the value of attribute iundefsym.



613
614
615
# File 'lib/macho/load_commands.rb', line 613

def iundefsym
  @iundefsym
end

#locreloffObject (readonly)

Returns the value of attribute locreloff.



637
638
639
# File 'lib/macho/load_commands.rb', line 637

def locreloff
  @locreloff
end

#modtaboffObject (readonly)

Returns the value of attribute modtaboff.



621
622
623
# File 'lib/macho/load_commands.rb', line 621

def modtaboff
  @modtaboff
end

#nextdefsymObject (readonly)

Returns the value of attribute nextdefsym.



611
612
613
# File 'lib/macho/load_commands.rb', line 611

def nextdefsym
  @nextdefsym
end

#nextrefsymsObject (readonly)

Returns the value of attribute nextrefsyms.



627
628
629
# File 'lib/macho/load_commands.rb', line 627

def nextrefsyms
  @nextrefsyms
end

#nextrelObject (readonly)

Returns the value of attribute nextrel.



635
636
637
# File 'lib/macho/load_commands.rb', line 635

def nextrel
  @nextrel
end

#nindirectsymsObject (readonly)

Returns the value of attribute nindirectsyms.



631
632
633
# File 'lib/macho/load_commands.rb', line 631

def nindirectsyms
  @nindirectsyms
end

#nlocalsymObject (readonly)

Returns the value of attribute nlocalsym.



607
608
609
# File 'lib/macho/load_commands.rb', line 607

def nlocalsym
  @nlocalsym
end

#nlocrelObject (readonly)

Returns the value of attribute nlocrel.



639
640
641
# File 'lib/macho/load_commands.rb', line 639

def nlocrel
  @nlocrel
end

#nmodtabObject (readonly)

Returns the value of attribute nmodtab.



623
624
625
# File 'lib/macho/load_commands.rb', line 623

def nmodtab
  @nmodtab
end

#ntocObject (readonly)

Returns the value of attribute ntoc.



619
620
621
# File 'lib/macho/load_commands.rb', line 619

def ntoc
  @ntoc
end

#nundefsymObject (readonly)

Returns the value of attribute nundefsym.



615
616
617
# File 'lib/macho/load_commands.rb', line 615

def nundefsym
  @nundefsym
end

#tocoffObject (readonly)

Returns the value of attribute tocoff.



617
618
619
# File 'lib/macho/load_commands.rb', line 617

def tocoff
  @tocoff
end