Exception: MachO::LoadCommandSizeError

Inherits:
NotAMachOError show all
Defined in:
lib/macho/exceptions.rb

Overview

Raised when a load command has an invalid size.

Instance Method Summary collapse

Constructor Details

#initialize(size) ⇒ LoadCommandSizeError

Returns a new instance of LoadCommandSizeError.

Parameters:

  • size (Integer)

    the invalid size



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

def initialize(size)
  super("Invalid Mach-O load command size: #{size}")
end