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.
901 |
# File 'lib/macho/load_commands.rb', line 901 field :extrefsymoff, :uint32 |
#extreloff ⇒ Integer
Returns the file offset to the external relocation entries.
913 |
# File 'lib/macho/load_commands.rb', line 913 field :extreloff, :uint32 |
#iextdefsym ⇒ Integer
Returns the index to externally defined symbols.
877 |
# File 'lib/macho/load_commands.rb', line 877 field :iextdefsym, :uint32 |
#ilocalsym ⇒ Integer
Returns the index to local symbols.
871 |
# File 'lib/macho/load_commands.rb', line 871 field :ilocalsym, :uint32 |
#indirectsymoff ⇒ Integer
Returns the file offset to the indirect symbol table.
907 |
# File 'lib/macho/load_commands.rb', line 907 field :indirectsymoff, :uint32 |
#iundefsym ⇒ Integer
Returns the index to undefined symbols.
883 |
# File 'lib/macho/load_commands.rb', line 883 field :iundefsym, :uint32 |
#locreloff ⇒ Integer
Returns the file offset to the local relocation entries.
919 |
# File 'lib/macho/load_commands.rb', line 919 field :locreloff, :uint32 |
#modtaboff ⇒ Integer
Returns the file offset to the module table.
895 |
# File 'lib/macho/load_commands.rb', line 895 field :modtaboff, :uint32 |
#nextdefsym ⇒ Integer
Returns the number of externally defined symbols.
880 |
# File 'lib/macho/load_commands.rb', line 880 field :nextdefsym, :uint32 |
#nextrefsyms ⇒ Integer
Returns the number of entries in the referenced symbol table.
904 |
# File 'lib/macho/load_commands.rb', line 904 field :nextrefsyms, :uint32 |
#nextrel ⇒ Integer
Returns the number of external relocation entries.
916 |
# File 'lib/macho/load_commands.rb', line 916 field :nextrel, :uint32 |
#nindirectsyms ⇒ Integer
Returns the number of entries in the indirect symbol table.
910 |
# File 'lib/macho/load_commands.rb', line 910 field :nindirectsyms, :uint32 |
#nlocalsym ⇒ Integer
Returns the number of local symbols.
874 |
# File 'lib/macho/load_commands.rb', line 874 field :nlocalsym, :uint32 |
#nlocrel ⇒ Integer
Returns the number of local relocation entries.
922 |
# File 'lib/macho/load_commands.rb', line 922 field :nlocrel, :uint32 |
#nmodtab ⇒ Integer
Returns the number of entries in the module table.
898 |
# File 'lib/macho/load_commands.rb', line 898 field :nmodtab, :uint32 |
#ntoc ⇒ Integer
Returns the number of entries in the table of contents.
892 |
# File 'lib/macho/load_commands.rb', line 892 field :ntoc, :uint32 |
#nundefsym ⇒ Integer
Returns the number of undefined symbols.
886 |
# File 'lib/macho/load_commands.rb', line 886 field :nundefsym, :uint32 |
#to_h ⇒ Hash
Returns a hash representation of this MachO::LoadCommands::DysymtabCommand.
925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 |
# File 'lib/macho/load_commands.rb', line 925 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.
889 |
# File 'lib/macho/load_commands.rb', line 889 field :tocoff, :uint32 |