Class: Fisk::ValueOperand

Inherits:
Operand
  • Object
show all
Defined in:
lib/fisk.rb

Direct Known Subclasses

ImmediateOperand, Lit, MOffs64, Relative

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from Operand

#op_value, #rex_value, #works?

Methods included from OperandPredicates

#absolute_location?, #extended_register?, #immediate?, #memory?, #register?, #rip?, #temp_register?, #unresolved?

Constructor Details

#initialize(value) ⇒ ValueOperand

Returns a new instance of ValueOperand.



59
60
61
# File 'lib/fisk.rb', line 59

def initialize value
  @value = value
end

Instance Attribute Details

#valueObject (readonly) Also known as: type

Returns the value of attribute value.



56
57
58
# File 'lib/fisk.rb', line 56

def value
  @value
end