microprobe.code.ins.InstructionOperandValue
- class InstructionOperandValue(operand_descriptor: OperandDescriptor)[source]
Bases:
PickableClass to represent an instruction operand value
- __init__(operand_descriptor: OperandDescriptor)[source]
- Parameters:
operand_descriptor
Methods
__init__(operand_descriptor)copy()Return a copy of the instruction operand value.
register_operand_callbacks(set_function, ...)set_descriptor(descriptor)set_type(new_type)set_value(value[, check])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)Is input flag (
bool)Is output flag (
bool)Representation of the operand value for generating assembly.
Type of the operand descriptor (
Operand)Value of the instruction operand.
- property value
Value of the instruction operand. (type depends on the operand)
- property descriptor
Descriptor of the operand (
OperandDescriptor)
- set_descriptor(descriptor: OperandDescriptor)[source]
- Parameters:
descriptor
- property representation
Representation of the operand value for generating assembly.