class MachO::LoadCommands::SubLibraryCommand

A load command signifying a sublibrary of a shared library. Corresponds to LC_SUB_LIBRARY.

Constants

FORMAT

@see MachOStructure::FORMAT @api private

SIZEOF

@see MachOStructure::SIZEOF @api private

Attributes

sub_library[R]

@return [LCStr] the sublibrary name as an LCStr

Public Class Methods

new(view, cmd, cmdsize, sub_library) click to toggle source

@api private

Calls superclass method MachO::LoadCommands::LoadCommand::new
# File lib/macho/load_commands.rb, line 712
def initialize(view, cmd, cmdsize, sub_library)
  super(view, cmd, cmdsize)
  @sub_library = LCStr.new(self, sub_library)
end