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. unset_value
()Unsets the operand value. uses
()Return the list of registers used by the operand. Attributes
descriptor
Descriptor of the operand ( OperandDescriptor
)representation
Representation of the operand value for generating assembly. value
Value of the instruction operand.
-
value
¶ Value of the instruction operand. (type depends on the operand)
-
descriptor
¶ Descriptor of the operand (
OperandDescriptor
)
-
copy
()[source]¶ Return a copy of the instruction operand value.
Return type: InstructionOperandValue
-
representation
¶ Representation of the operand value for generating assembly.
-