class MachO::LoadCommands::DyldInfoCommand

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.

Public Instance Methods

to_h() click to toggle source

@return [Hash] a hash representation of this {DyldInfoCommand}

Calls superclass method MachO::LoadCommands::LoadCommand#to_h
# 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