Class: MachO::LoadCommands::DysymtabCommand
- Inherits:
-
LoadCommand
- Object
- MachOStructure
- LoadCommand
- MachO::LoadCommands::DysymtabCommand
- 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 Method Summary collapse
-
#extrefsymoff ⇒ Integer
The file offset to the referenced symbol table.
-
#extreloff ⇒ Integer
The file offset to the external relocation entries.
-
#iextdefsym ⇒ Integer
The index to externally defined symbols.
-
#ilocalsym ⇒ Integer
The index to local symbols.
-
#indirectsymoff ⇒ Integer
The file offset to the indirect symbol table.
-
#iundefsym ⇒ Integer
The index to undefined symbols.
-
#locreloff ⇒ Integer
The file offset to the local relocation entries.
-
#modtaboff ⇒ Integer
The file offset to the module table.
-
#nextdefsym ⇒ Integer
The number of externally defined symbols.
-
#nextrefsyms ⇒ Integer
The number of entries in the referenced symbol table.
-
#nextrel ⇒ Integer
The number of external relocation entries.
-
#nindirectsyms ⇒ Integer
The number of entries in the indirect symbol table.
-
#nlocalsym ⇒ Integer
The number of local symbols.
-
#nlocrel ⇒ Integer
The number of local relocation entries.
-
#nmodtab ⇒ Integer
The number of entries in the module table.
-
#ntoc ⇒ Integer
The number of entries in the table of contents.
-
#nundefsym ⇒ Integer
The number of undefined symbols.
-
#to_h ⇒ Hash
A hash representation of this DysymtabCommand.
-
#tocoff ⇒ Integer
The file offset to the table of contents.
Methods inherited from LoadCommand
#cmd, #cmdsize, create, new_from_bin, #offset, #serializable?, #serialize, #to_s, #type, #view
Methods inherited from MachOStructure
bytesize, format, #initialize, new_from_bin
Constructor Details
This class inherits a constructor from MachO::MachOStructure
Instance Method Details
#extrefsymoff ⇒ Integer
Returns the file offset to the referenced symbol table.
802 |
# File 'lib/macho/load_commands.rb', line 802 field :extrefsymoff, :uint32 |
#extreloff ⇒ Integer
Returns the file offset to the external relocation entries.
814 |
# File 'lib/macho/load_commands.rb', line 814 field :extreloff, :uint32 |
#iextdefsym ⇒ Integer
Returns the index to externally defined symbols.
778 |
# File 'lib/macho/load_commands.rb', line 778 field :iextdefsym, :uint32 |
#ilocalsym ⇒ Integer
Returns the index to local symbols.
772 |
# File 'lib/macho/load_commands.rb', line 772 field :ilocalsym, :uint32 |
#indirectsymoff ⇒ Integer
Returns the file offset to the indirect symbol table.
808 |
# File 'lib/macho/load_commands.rb', line 808 field :indirectsymoff, :uint32 |
#iundefsym ⇒ Integer
Returns the index to undefined symbols.
784 |
# File 'lib/macho/load_commands.rb', line 784 field :iundefsym, :uint32 |
#locreloff ⇒ Integer
Returns the file offset to the local relocation entries.
820 |
# File 'lib/macho/load_commands.rb', line 820 field :locreloff, :uint32 |
#modtaboff ⇒ Integer
Returns the file offset to the module table.
796 |
# File 'lib/macho/load_commands.rb', line 796 field :modtaboff, :uint32 |
#nextdefsym ⇒ Integer
Returns the number of externally defined symbols.
781 |
# File 'lib/macho/load_commands.rb', line 781 field :nextdefsym, :uint32 |
#nextrefsyms ⇒ Integer
Returns the number of entries in the referenced symbol table.
805 |
# File 'lib/macho/load_commands.rb', line 805 field :nextrefsyms, :uint32 |
#nextrel ⇒ Integer
Returns the number of external relocation entries.
817 |
# File 'lib/macho/load_commands.rb', line 817 field :nextrel, :uint32 |
#nindirectsyms ⇒ Integer
Returns the number of entries in the indirect symbol table.
811 |
# File 'lib/macho/load_commands.rb', line 811 field :nindirectsyms, :uint32 |
#nlocalsym ⇒ Integer
Returns the number of local symbols.
775 |
# File 'lib/macho/load_commands.rb', line 775 field :nlocalsym, :uint32 |
#nlocrel ⇒ Integer
Returns the number of local relocation entries.
823 |
# File 'lib/macho/load_commands.rb', line 823 field :nlocrel, :uint32 |
#nmodtab ⇒ Integer
Returns the number of entries in the module table.
799 |
# File 'lib/macho/load_commands.rb', line 799 field :nmodtab, :uint32 |
#ntoc ⇒ Integer
Returns the number of entries in the table of contents.
793 |
# File 'lib/macho/load_commands.rb', line 793 field :ntoc, :uint32 |
#nundefsym ⇒ Integer
Returns the number of undefined symbols.
787 |
# File 'lib/macho/load_commands.rb', line 787 field :nundefsym, :uint32 |
#to_h ⇒ Hash
Returns a hash representation of this MachO::LoadCommands::DysymtabCommand.
826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 |
# File 'lib/macho/load_commands.rb', line 826 def to_h { "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, }.merge super end |
#tocoff ⇒ Integer
Returns the file offset to the table of contents.
790 |
# File 'lib/macho/load_commands.rb', line 790 field :tocoff, :uint32 |