Class: Pliney::MachO::UndefinedLCReader

Inherits:
CommonLCReader show all
Defined in:
lib/pliney/macho.rb

Instance Attribute Summary collapse

Attributes inherited from CommonLCReader

#cmd, #cmdsize

Attributes inherited from Reader

#fh, #startpos

Instance Method Summary collapse

Methods inherited from CommonLCReader

#resolve_type

Methods inherited from Reader

#initialize, parse, #rewind

Constructor Details

This class inherits a constructor from Pliney::MachO::Reader

Instance Attribute Details

#cmd_dataObject (readonly)

Returns the value of attribute cmd_data.



351
352
353
# File 'lib/pliney/macho.rb', line 351

def cmd_data
  @cmd_data
end

Instance Method Details

#parseObject



352
353
354
355
# File 'lib/pliney/macho.rb', line 352

def parse()
    super()
    @cmd_data = StringStream.new(@fh.strictread(@cmdsize - 8))
end