Exception: MachO::LCStrMalformedError
- Inherits:
-
MachOError
- Object
- RuntimeError
- MachOError
- MachO::LCStrMalformedError
- Defined in:
- lib/macho/exceptions.rb
Overview
Raised when a load command string is malformed in some way.
Instance Method Summary collapse
-
#initialize(lc) ⇒ LCStrMalformedError
constructor
A new instance of LCStrMalformedError.
Constructor Details
#initialize(lc) ⇒ LCStrMalformedError
Returns a new instance of LCStrMalformedError.
160 161 162 163 |
# File 'lib/macho/exceptions.rb', line 160 def initialize(lc) super "Load command #{lc.type} at offset #{lc.view.offset} contains a " \ "malformed string" end |