module MachO::MachOStructure::Fields

Constants used for parsing MachOStructure fields

Constants

BYTE_SIZE

association of field types to byte size @api private

CLASSES_TO_INIT

A list of classes that must get initialized To add a new class append it here and add the init method to the def_class_reader method @api private

FORMAT_CODE

association of field types with ruby format codes Binary format codes can be found here: docs.ruby-lang.org/en/2.6.0/String.html#method-i-unpack

The equals sign is used to manually change endianness using the Utils#specialize_format() method. @api private

NO_ARG_REQUIRED

A list of fields that don’t require arguments in the initializer Used to calculate MachOStructure#min_args @api private