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.
1261 |
# File 'lib/macho/load_commands.rb', line 1261 field :bind_off, :uint32 |
#bind_size ⇒ Integer
Returns the size of the binding information.
1264 |
# File 'lib/macho/load_commands.rb', line 1264 field :bind_size, :uint32 |
#export_off ⇒ Integer
Returns the file offset to the export information.
1279 |
# File 'lib/macho/load_commands.rb', line 1279 field :export_off, :uint32 |
#export_size ⇒ Integer
Returns the size of the export information.
1282 |
# File 'lib/macho/load_commands.rb', line 1282 field :export_size, :uint32 |
#lazy_bind_off ⇒ Integer
Returns the file offset to the lazy binding information.
1273 |
# File 'lib/macho/load_commands.rb', line 1273 field :lazy_bind_off, :uint32 |
#lazy_bind_size ⇒ Integer
Returns the size of the lazy binding information.
1276 |
# File 'lib/macho/load_commands.rb', line 1276 field :lazy_bind_size, :uint32 |
#rebase_off ⇒ Integer
Returns the file offset to the rebase information.
1255 |
# File 'lib/macho/load_commands.rb', line 1255 field :rebase_off, :uint32 |
#rebase_size ⇒ Integer
Returns the size of the rebase information.
1258 |
# File 'lib/macho/load_commands.rb', line 1258 field :rebase_size, :uint32 |
#to_h ⇒ Hash
Returns a hash representation of this MachO::LoadCommands::DyldInfoCommand.
1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 |
# File 'lib/macho/load_commands.rb', line 1285 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.
1267 |
# File 'lib/macho/load_commands.rb', line 1267 field :weak_bind_off, :uint32 |
#weak_bind_size ⇒ Integer
Returns the size of the weak binding information.
1270 |
# File 'lib/macho/load_commands.rb', line 1270 field :weak_bind_size, :uint32 |