Exception: MachO::FatArchOffsetOverflowError

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

Overview

Raised when attempting to create a FatFile from one or more MachOFiles whose offsets will not fit within the resulting 32-bit Headers::FatArch#offset fields.

Instance Method Summary collapse

Constructor Details

#initialize(offset) ⇒ FatArchOffsetOverflowError

Returns a new instance of FatArchOffsetOverflowError.

Parameters:

  • offset (Integer)

    the offending offset



227
228
229
230
# File 'lib/macho/exceptions.rb', line 227

def initialize(offset)
  super "Offset #{offset} exceeds the 32-bit width of a fat_arch offset. " \
        "Consider merging with `fat64: true`"
end