Class: FFI::UDis86::OperandValue

Inherits:
FFI::Union
  • Object
show all
Defined in:
lib/ffi/udis86/operand_value.rb

Instance Method Summary collapse

Instance Method Details

#ptrOperandPointer Also known as: pointer

The pointer value of the operand.

Returns:



126
127
128
# File 'lib/ffi/udis86/operand_value.rb', line 126

def ptr
  self[:ptr]
end

#sbyteInteger Also known as: char, signed_byte

The signed byte value of the operand.

Returns:

  • (Integer)

    The signed byte value.



25
26
27
# File 'lib/ffi/udis86/operand_value.rb', line 25

def sbyte
  self[:sbyte]
end

#sdwordInteger Also known as: signed_double_word

The signed double-word value of the operand.

Returns:

  • (Integer)

    The signed double-word value.



76
77
78
# File 'lib/ffi/udis86/operand_value.rb', line 76

def sdword
  self[:sdword]
end

#sqwordInteger Also known as: signed_quad_word

The signed quad-word value of the operand.

Returns:

  • (Integer)

    The signed quad-word value.



101
102
103
# File 'lib/ffi/udis86/operand_value.rb', line 101

def sqword
  self[:sqword]
end

#swordInteger Also known as: signed_word

The signed word value of the operand.

Returns:

  • (Integer)

    The signed word value.



51
52
53
# File 'lib/ffi/udis86/operand_value.rb', line 51

def sword
  self[:sword]
end

#ubyteInteger Also known as: byte, unsigned_byte

The unsigned byte value of the operand.

Returns:

  • (Integer)

    The unsigned byte value.



38
39
40
# File 'lib/ffi/udis86/operand_value.rb', line 38

def ubyte
  self[:ubyte]
end

#udwordInteger Also known as: double_word, unsigned_double_word

The unsigned double-word value of the operand.

Returns:

  • (Integer)

    The unsigned double-word value.



88
89
90
# File 'lib/ffi/udis86/operand_value.rb', line 88

def udword
  self[:udword]
end

#uqwordInteger Also known as: quad_word, unsigned_quad_word

The unsigned quad-word value of the operand.

Returns:

  • (Integer)

    The unsigned quad-word value.



113
114
115
# File 'lib/ffi/udis86/operand_value.rb', line 113

def uqword
  self[:uqword]
end

#uwordInteger Also known as: word, unsigned_word

The unsigned word value of the operand.

Returns:

  • (Integer)

    The unsigned word value.



63
64
65
# File 'lib/ffi/udis86/operand_value.rb', line 63

def uword
  self[:uword]
end