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

Represents the C types for the MIPS architecture.

Constants

ADDRESS_SIZE

The size of a pointer in bytes on MIPS.

LONG

The ‘long` type.

MACHINE_WORD

The “machine word” type.

POINTER

The ‘void *` type.

TYPES

The MIPS 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.rb, line 68
def self.[](name)
  TYPES.fetch(name) do
    raise(ArgumentError,"unknown MIPS type: #{name.inspect}")
  end
end