microprobe.code.ins.InstructionOperandValue¶
-
class
InstructionOperandValue
(operand_descriptor)[source]¶ Bases:
microprobe.utils.misc.Pickable
Class to represent an instruction operand value
Methods
__init__
(operand_descriptor)- param operand_descriptor
copy
()Return a copy of the instruction operand value.
register_operand_callbacks
(set_function, …)- param set_function
set_descriptor
(descriptor)- param descriptor
set_value
(value[, check])- param value
sets
()Return the list of registers set by the operand.
Unsets the operand value.
uses
()Return the list of registers used by the operand.
Attributes
Descriptor of the operand (
OperandDescriptor
)Representation of the operand value for generating assembly.
Value of the instruction operand.
-
property
value
¶ Value of the instruction operand. (type depends on the operand)
-
property
descriptor
¶ Descriptor of the operand (
OperandDescriptor
)
-
property
representation
¶ Representation of the operand value for generating assembly.