module Ronin::Support::Binary::CTypes::Arch::X86
Represents the C types for the x86 architecture.
Constants
- ADDRESS_SIZE
-
The size of a pointer in bytes on x86.
- LONG
-
The ‘long` type.
- MACHINE_WORD
-
The “machine word” type.
- POINTER
-
The ‘void *` type.
- TYPES
-
The x86 types.
- ULONG
-
The ‘unsigned long` type.
Public Class Methods
Source
# File lib/ronin/support/binary/ctypes/arch/x86.rb, line 68 def self.[](name) TYPES.fetch(name) do raise(ArgumentError,"unknown x86 type: #{name.inspect}") end end
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.