Class: MachO::LoadCommands::PreboundDylibCommand
- Inherits:
-
LoadCommand
- Object
- MachOStructure
- LoadCommand
- MachO::LoadCommands::PreboundDylibCommand
- Defined in:
- lib/macho/load_commands.rb
Overview
A load command used to indicate dynamic libraries used in prebinding. Corresponds to LC_PREBOUND_DYLIB.
Instance Method Summary collapse
-
#linked_modules ⇒ Integer
A bit vector of linked modules.
-
#name ⇒ LCStr
The library's path name as an LCStr.
-
#nmodules ⇒ Integer
The number of modules in the library.
-
#to_h ⇒ Hash
A hash representation of this PreboundDylibCommand.
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
#linked_modules ⇒ Integer
Returns a bit vector of linked modules.
693 |
# File 'lib/macho/load_commands.rb', line 693 field :linked_modules, :uint32 |
#name ⇒ LCStr
Returns the library's path name as an LCStr.
687 |
# File 'lib/macho/load_commands.rb', line 687 field :name, :lcstr, :to_s => true |
#nmodules ⇒ Integer
Returns the number of modules in the library.
690 |
# File 'lib/macho/load_commands.rb', line 690 field :nmodules, :uint32 |
#to_h ⇒ Hash
Returns a hash representation of this MachO::LoadCommands::PreboundDylibCommand.
696 697 698 699 700 701 702 |
# File 'lib/macho/load_commands.rb', line 696 def to_h { "name" => name.to_h, "nmodules" => nmodules, "linked_modules" => linked_modules, }.merge super end |