Class: Indis::MachO::LoadDyLinkerCommand

Inherits:
Command
  • Object
show all
Defined in:
lib/indis-macho/command.rb

Overview

LC_LOAD_DYLINKER

Constant Summary

Constants inherited from Command

Command::CMD, Command::CMD_CLASS, Command::LC_REQ_DYLD

Instance Attribute Summary collapse

Attributes inherited from Command

#cmd, #length

Instance Method Summary collapse

Methods inherited from Command

class_of_command, #initialize

Constructor Details

This class inherits a constructor from Indis::MachO::Command

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



250
251
252
# File 'lib/indis-macho/command.rb', line 250

def name
  @name
end

Instance Method Details

#process(payload) ⇒ Object



252
253
254
255
# File 'lib/indis-macho/command.rb', line 252

def process(payload)
  super(payload)
  @name = payload.read(@length-8).strip
end