Class: MachO::DyldInfoCommand
- Inherits:
-
LoadCommand
- Object
- MachOStructure
- LoadCommand
- MachO::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 Attribute Summary collapse
-
#bind_off ⇒ Fixnum
readonly
The file offset to the binding information.
-
#bind_size ⇒ Fixnum
readonly
The size of the binding information.
-
#export_off ⇒ Fixnum
readonly
The file offset to the export information.
-
#export_size ⇒ Fixnum
readonly
The size of the export information.
-
#lazy_bind_off ⇒ Fixnum
readonly
The file offset to the lazy binding information.
-
#lazy_bind_size ⇒ Fixnum
readonly
The size of the lazy binding information.
-
#rebase_off ⇒ Fixnum
readonly
The file offset to the rebase information.
-
#rebase_size ⇒ Fixnum
readonly
The size of the rebase information.
-
#weak_bind_off ⇒ Fixnum
readonly
The file offset to the weak binding information.
-
#weak_bind_size ⇒ Fixnum
readonly
The size of the weak binding information.
Attributes inherited from LoadCommand
Instance Method Summary collapse
-
#initialize(offset, cmd, cmdsize, rebase_off, rebase_size, bind_off, bind_size, weak_bind_off, weak_bind_size, lazy_bind_off, lazy_bind_size, export_off, export_size) ⇒ DyldInfoCommand
constructor
A new instance of DyldInfoCommand.
Methods inherited from LoadCommand
Methods inherited from MachOStructure
Constructor Details
#initialize(offset, cmd, cmdsize, rebase_off, rebase_size, bind_off, bind_size, weak_bind_off, weak_bind_size, lazy_bind_off, lazy_bind_size, export_off, export_size) ⇒ DyldInfoCommand
Returns a new instance of DyldInfoCommand.
1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 |
# File 'lib/macho/load_commands.rb', line 1020 def initialize(offset, cmd, cmdsize, rebase_off, rebase_size, bind_off, bind_size, weak_bind_off, weak_bind_size, lazy_bind_off, lazy_bind_size, export_off, export_size) super(offset, cmd, cmdsize) @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 end |
Instance Attribute Details
#bind_off ⇒ Fixnum (readonly)
Returns the file offset to the binding information.
993 994 995 |
# File 'lib/macho/load_commands.rb', line 993 def bind_off @bind_off end |
#bind_size ⇒ Fixnum (readonly)
Returns the size of the binding information.
996 997 998 |
# File 'lib/macho/load_commands.rb', line 996 def bind_size @bind_size end |
#export_off ⇒ Fixnum (readonly)
Returns the file offset to the export information.
1011 1012 1013 |
# File 'lib/macho/load_commands.rb', line 1011 def export_off @export_off end |
#export_size ⇒ Fixnum (readonly)
Returns the size of the export information.
1014 1015 1016 |
# File 'lib/macho/load_commands.rb', line 1014 def export_size @export_size end |
#lazy_bind_off ⇒ Fixnum (readonly)
Returns the file offset to the lazy binding information.
1005 1006 1007 |
# File 'lib/macho/load_commands.rb', line 1005 def lazy_bind_off @lazy_bind_off end |
#lazy_bind_size ⇒ Fixnum (readonly)
Returns the size of the lazy binding information.
1008 1009 1010 |
# File 'lib/macho/load_commands.rb', line 1008 def lazy_bind_size @lazy_bind_size end |
#rebase_off ⇒ Fixnum (readonly)
Returns the file offset to the rebase information.
987 988 989 |
# File 'lib/macho/load_commands.rb', line 987 def rebase_off @rebase_off end |
#rebase_size ⇒ Fixnum (readonly)
Returns the size of the rebase information.
990 991 992 |
# File 'lib/macho/load_commands.rb', line 990 def rebase_size @rebase_size end |
#weak_bind_off ⇒ Fixnum (readonly)
Returns the file offset to the weak binding information.
999 1000 1001 |
# File 'lib/macho/load_commands.rb', line 999 def weak_bind_off @weak_bind_off end |
#weak_bind_size ⇒ Fixnum (readonly)
Returns the size of the weak binding information.
1002 1003 1004 |
# File 'lib/macho/load_commands.rb', line 1002 def weak_bind_size @weak_bind_size end |