Class: Fisk::ValueOperand
Direct Known Subclasses
Instance Attribute Summary collapse
-
#value ⇒ Object
(also: #type)
readonly
Returns the value of attribute value.
Instance Method Summary collapse
-
#initialize(value) ⇒ ValueOperand
constructor
A new instance of ValueOperand.
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
#value ⇒ Object (readonly) Also known as: type
Returns the value of attribute value.
56 57 58 |
# File 'lib/fisk.rb', line 56 def value @value end |