Exception: MachO::LCStrMalformedError

Inherits:
MachOError
  • Object
show all
Defined in:
lib/macho/exceptions.rb

Overview

Raised when a load command string is malformed in some way.

Instance Method Summary collapse

Constructor Details

#initialize(lc) ⇒ LCStrMalformedError

Returns a new instance of LCStrMalformedError.

Parameters:



132
133
134
# File 'lib/macho/exceptions.rb', line 132

def initialize(lc)
  super "Load command #{lc.type} at offset #{lc.view.offset} contains a malformed string"
end