Class: MachO::LoadCommands::DyldInfoCommand
- Inherits:
-
LoadCommand
- Object
- MachOStructure
- LoadCommand
- MachO::LoadCommands::DyldInfoCommand
- Defined in:
- lib/macho/load_commands.rb
Overview
A load command containing the file offsets and sizes of the new compressed form of the information dyld needs to load the image. Corresponds to LC_DYLD_INFO and LC_DYLD_INFO_ONLY.
Instance Method Summary collapse
-
#bind_off ⇒ Integer
The file offset to the binding information.
-
#bind_size ⇒ Integer
The size of the binding information.
-
#export_off ⇒ Integer
The file offset to the export information.
-
#export_size ⇒ Integer
The size of the export information.
-
#lazy_bind_off ⇒ Integer
The file offset to the lazy binding information.
-
#lazy_bind_size ⇒ Integer
The size of the lazy binding information.
-
#rebase_off ⇒ Integer
The file offset to the rebase information.
-
#rebase_size ⇒ Integer
The size of the rebase information.
-
#to_h ⇒ Hash
A hash representation of this DyldInfoCommand.
-
#weak_bind_off ⇒ Integer
The file offset to the weak binding information.
-
#weak_bind_size ⇒ Integer
The size of the weak binding information.
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
#bind_off ⇒ Integer
Returns the file offset to the binding information.
1162 |
# File 'lib/macho/load_commands.rb', line 1162 field :bind_off, :uint32 |
#bind_size ⇒ Integer
Returns the size of the binding information.
1165 |
# File 'lib/macho/load_commands.rb', line 1165 field :bind_size, :uint32 |
#export_off ⇒ Integer
Returns the file offset to the export information.
1180 |
# File 'lib/macho/load_commands.rb', line 1180 field :export_off, :uint32 |
#export_size ⇒ Integer
Returns the size of the export information.
1183 |
# File 'lib/macho/load_commands.rb', line 1183 field :export_size, :uint32 |
#lazy_bind_off ⇒ Integer
Returns the file offset to the lazy binding information.
1174 |
# File 'lib/macho/load_commands.rb', line 1174 field :lazy_bind_off, :uint32 |
#lazy_bind_size ⇒ Integer
Returns the size of the lazy binding information.
1177 |
# File 'lib/macho/load_commands.rb', line 1177 field :lazy_bind_size, :uint32 |
#rebase_off ⇒ Integer
Returns the file offset to the rebase information.
1156 |
# File 'lib/macho/load_commands.rb', line 1156 field :rebase_off, :uint32 |
#rebase_size ⇒ Integer
Returns the size of the rebase information.
1159 |
# File 'lib/macho/load_commands.rb', line 1159 field :rebase_size, :uint32 |
#to_h ⇒ Hash
Returns a hash representation of this MachO::LoadCommands::DyldInfoCommand.
1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 |
# File 'lib/macho/load_commands.rb', line 1186 def to_h { "rebase_off" => rebase_off, "rebase_size" => rebase_size, "bind_off" => bind_off, "bind_size" => bind_size, "weak_bind_off" => weak_bind_off, "weak_bind_size" => weak_bind_size, "lazy_bind_off" => lazy_bind_off, "lazy_bind_size" => lazy_bind_size, "export_off" => export_off, "export_size" => export_size, }.merge super end |
#weak_bind_off ⇒ Integer
Returns the file offset to the weak binding information.
1168 |
# File 'lib/macho/load_commands.rb', line 1168 field :weak_bind_off, :uint32 |
#weak_bind_size ⇒ Integer
Returns the size of the weak binding information.
1171 |
# File 'lib/macho/load_commands.rb', line 1171 field :weak_bind_size, :uint32 |