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