Class: Indis::MachO::LoadDyLinkerCommand

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

Overview

LC_LOAD_DYLINKER

Constant Summary

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



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

def name
  @name
end

Instance Method Details

#process(payload) ⇒ Object



254
255
256
257
# File 'lib/indis-macho/command.rb', line 254

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