module Ronin::Support::Binary::CTypes::Arch::MIPS::LittleEndian

Represents the C types for the MIPS architecture, in little-endian mode.

Constants

ADDRESS_SIZE

The size of a pointer in bytes on MIPS (little-endian).

LONG

The ‘long` type.

MACHINE_WORD

The “machine word” type.

POINTER

The ‘void *` type.

TYPES

The MIPS (little-endian) types.

ULONG

The ‘unsigned long` type.

Public Class Methods

[](name) click to toggle source

Fetches the type from {TYPES}.

@param [Symbol] name

The type name to lookup.

@return [Type]

The type object from {TYPES}.

@raise [ArgumentError]

The type name was unknown.
# File lib/ronin/support/binary/ctypes/arch/mips/little_endian.rb, line 70
def self.[](name)
  TYPES.fetch(name) do
    raise(ArgumentError,"unknown MIPS (little-endian) type: #{name.inspect}")
  end
end