class FFI::UDis86::OperandValue

Public Instance Methods

byte()
Alias for: ubyte
char()
Alias for: sbyte
double_word()
Alias for: udword
pointer()
Alias for: ptr
ptr() click to toggle source

The pointer value of the operand.

@return [OperandPointer]

The pointer value.
# File lib/ffi/udis86/operand_value.rb, line 126
def ptr
  self[:ptr]
end
Also aliased as: pointer
quad_word()
Alias for: uqword
sbyte() click to toggle source

The signed byte value of the operand.

@return [Integer]

The signed byte value.
# File lib/ffi/udis86/operand_value.rb, line 25
def sbyte
  self[:sbyte]
end
Also aliased as: char, signed_byte
sdword() click to toggle source

The signed double-word value of the operand.

@return [Integer]

The signed double-word value.
# File lib/ffi/udis86/operand_value.rb, line 76
def sdword
  self[:sdword]
end
Also aliased as: signed_double_word
signed_byte()
Alias for: sbyte
signed_double_word()
Alias for: sdword
signed_quad_word()
Also aliased as: to_i
Alias for: sqword
signed_word()
Alias for: sword
sqword() click to toggle source

The signed quad-word value of the operand.

@return [Integer]

The signed quad-word value.
# File lib/ffi/udis86/operand_value.rb, line 101
def sqword
  self[:sqword]
end
Also aliased as: signed_quad_word
sword() click to toggle source

The signed word value of the operand.

@return [Integer]

The signed word value.
# File lib/ffi/udis86/operand_value.rb, line 51
def sword
  self[:sword]
end
Also aliased as: signed_word
to_i()
Alias for: signed_quad_word
ubyte() click to toggle source

The unsigned byte value of the operand.

@return [Integer]

The unsigned byte value.
# File lib/ffi/udis86/operand_value.rb, line 38
def ubyte
  self[:ubyte]
end
Also aliased as: byte, unsigned_byte
udword() click to toggle source

The unsigned double-word value of the operand.

@return [Integer]

The unsigned double-word value.
# File lib/ffi/udis86/operand_value.rb, line 88
def udword
  self[:udword]
end
Also aliased as: double_word, unsigned_double_word
unsigned_byte()
Alias for: ubyte
unsigned_double_word()
Alias for: udword
unsigned_quad_word()
Alias for: uqword
unsigned_word()
Alias for: uword
uqword() click to toggle source

The unsigned quad-word value of the operand.

@return [Integer]

The unsigned quad-word value.
# File lib/ffi/udis86/operand_value.rb, line 113
def uqword
  self[:uqword]
end
Also aliased as: quad_word, unsigned_quad_word
uword() click to toggle source

The unsigned word value of the operand.

@return [Integer]

The unsigned word value.
# File lib/ffi/udis86/operand_value.rb, line 63
def uword
  self[:uword]
end
Also aliased as: word, unsigned_word
word()
Alias for: uword