Exception: MachO::HeaderPadError
- Inherits:
-
MachOError
- Object
- RuntimeError
- MachOError
- MachO::HeaderPadError
- Defined in:
- lib/macho/exceptions.rb
Overview
raised when load commands are too large to fit in the current file
Instance Method Summary collapse
-
#initialize(filename) ⇒ HeaderPadError
constructor
A new instance of HeaderPadError.
Constructor Details
#initialize(filename) ⇒ HeaderPadError
57 58 59 60 61 |
# File 'lib/macho/exceptions.rb', line 57 def initialize(filename) super "Updated load commands do not fit in the header of " + "#{filename}. #{filename} needs to be relinked, possibly with " + "-headerpad or -headerpad_max_install_names" end |