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 ⇒ Object
readonly
Returns the value of attribute bind_off.
-
#bind_size ⇒ Object
readonly
Returns the value of attribute bind_size.
-
#export_off ⇒ Object
readonly
Returns the value of attribute export_off.
-
#export_size ⇒ Object
readonly
Returns the value of attribute export_size.
-
#lazy_bind_off ⇒ Object
readonly
Returns the value of attribute lazy_bind_off.
-
#lazy_bind_size ⇒ Object
readonly
Returns the value of attribute lazy_bind_size.
-
#rebase_off ⇒ Object
readonly
Returns the value of attribute rebase_off.
-
#rebase_size ⇒ Object
readonly
Returns the value of attribute rebase_size.
-
#weak_bind_off ⇒ Object
readonly
Returns the value of attribute weak_bind_off.
-
#weak_bind_size ⇒ Object
readonly
Returns the value of attribute weak_bind_size.
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.
830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 |
# File 'lib/macho/load_commands.rb', line 830 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 ⇒ Object (readonly)
Returns the value of attribute bind_off.
822 823 824 |
# File 'lib/macho/load_commands.rb', line 822 def bind_off @bind_off end |
#bind_size ⇒ Object (readonly)
Returns the value of attribute bind_size.
822 823 824 |
# File 'lib/macho/load_commands.rb', line 822 def bind_size @bind_size end |
#export_off ⇒ Object (readonly)
Returns the value of attribute export_off.
824 825 826 |
# File 'lib/macho/load_commands.rb', line 824 def export_off @export_off end |
#export_size ⇒ Object (readonly)
Returns the value of attribute export_size.
824 825 826 |
# File 'lib/macho/load_commands.rb', line 824 def export_size @export_size end |
#lazy_bind_off ⇒ Object (readonly)
Returns the value of attribute lazy_bind_off.
823 824 825 |
# File 'lib/macho/load_commands.rb', line 823 def lazy_bind_off @lazy_bind_off end |
#lazy_bind_size ⇒ Object (readonly)
Returns the value of attribute lazy_bind_size.
824 825 826 |
# File 'lib/macho/load_commands.rb', line 824 def lazy_bind_size @lazy_bind_size end |
#rebase_off ⇒ Object (readonly)
Returns the value of attribute rebase_off.
822 823 824 |
# File 'lib/macho/load_commands.rb', line 822 def rebase_off @rebase_off end |
#rebase_size ⇒ Object (readonly)
Returns the value of attribute rebase_size.
822 823 824 |
# File 'lib/macho/load_commands.rb', line 822 def rebase_size @rebase_size end |
#weak_bind_off ⇒ Object (readonly)
Returns the value of attribute weak_bind_off.
823 824 825 |
# File 'lib/macho/load_commands.rb', line 823 def weak_bind_off @weak_bind_off end |
#weak_bind_size ⇒ Object (readonly)
Returns the value of attribute weak_bind_size.
823 824 825 |
# File 'lib/macho/load_commands.rb', line 823 def weak_bind_size @weak_bind_size end |