(self, instruction)
Enhances all of the operands in the instruction, by adding the following
        fields:

        operand.str:
            String of this operand, as it should appear in the
            disassembly.

        operand.int:
            Integer value of the operand, if it can be resolved.

        operand.symbol:
            Resolved symbol name for this operand.
Enhances all of the operands in the instruction, by adding the following
        fields:
Enhances all of the operands in the instruction by adding the following fields :
def enhance_operands(self, instruction):
        """
        Enhances all of the operands in the instruction, by adding the following
        fields:

        operand.str:
            String of this operand, as it should appear in the
            disassembly.

        operand.int:
            Integer value of the operand, if it can be resolved.

        operand.symbol:
            Resolved symbol name for this operand.
        """
        for i, op in enumerate(instruction.operands):
            op.int    = None
            op.symbol = None

            op.int = self.op_handlers.get(op.type, lambda *a: None)(instruction, op)
            if op.int:
                op.int &= pwndbg.arch.ptrmask
            op.str = self.op_names.get(op.type, lambda *a: None)(instruction, op)

            if op.int:
                op.symbol = pwndbg.symbol.get(op.int)
def enhance_operands ( self , instruction ) : for i , op in enumerate ( instruction . operands ) : op . int = None op . symbol = None op . int = self . op_handlers . get ( op . type , lambda * a : None ) ( instruction , op ) if op . int : op . int &= pwndbg . arch . ptrmask op . str = self . op_names . get ( op . type , lambda * a : None ) ( instruction , op ) if op . int : op . symbol = pwndbg . symbol . get ( op . int )