pub fn operand_load(
        &self,
        block: &mut Block,
        operand: &cs_x86_op,
        instruction: &capstone::Instr,
    ) -> Result<Expression> {
        let op = self.operand_value(operand, instruction)?;

        if operand.type_ == x86_op_type::X86_OP_MEM {
            let temp = Scalar::temp(instruction.address, operand.size as usize * 8);
            block.load(temp.clone(), op);
            return Ok(temp.into());
        }
        Ok(op)
    }
/// Gets the value of an operand as an IL expression, performing any required loads as needed.
Gets the value of an operand as an IL expression, performing any required loads as needed.
Gets the value of an operand as an IL expression performing any required loads as needed .
pub fn operand_load(
        &self,
        block: &mut Block,
        operand: &cs_x86_op,
        instruction: &capstone::Instr,
    ) -> Result<Expression> {
        let op = self.operand_value(operand, instruction)?;
        if operand.type_ == x86_op_type::X86_OP_MEM {
            let temp = Scalar::temp(instruction.address, operand.size as usize * 8);
            block.load(temp.clone(), op);
            return Ok(temp.into());
        }
        Ok(op)
    }
pub fn operand_load ( & self , block : & mut Block , operand : & cs_x86_op , instruction : & capstone :: Instr , ) -> Result < Expression > { let op = self . operand_value ( operand , instruction ) ? ; if operand . type_ == x86_op_type :: X86_OP_MEM { let temp = Scalar :: temp ( instruction . address , operand . size as usize * 8 ) ; block . load ( temp . clone ( ) , op ) ; return Ok ( temp . into ( ) ) ; } Ok ( op ) }
Gets the value of an operand as an IL expression, performing any required loads as needed.
Gets the value of an operand as an IL expression performing any required loads as needed .
&self
block
&mut Block
operand
&cs_x86_op
instruction
&capstone::Instr
&self
block
&mut Block
operand
&cs_x86_op
instruction
&capstone::Instr