``set_var_field`` sets the field ``offset`` of variable ``dest`` of size ``size`` to the expression ``src`` :param int size: the size of the field in bytes :param Variable dest: the variable being set :param int offset: offset of field in the variable :param ExpressionIndex src: expressi
( self, size: int, dest: 'variable.Variable', offset: int, src: ExpressionIndex, loc: Optional['ILSourceLocation'] = None )
| 3646 | return self.expr(MediumLevelILOperation.MLIL_SET_VAR, dest.identifier, src, size=size, source_location=loc) |
| 3647 | |
| 3648 | def set_var_field( |
| 3649 | self, size: int, dest: 'variable.Variable', offset: int, src: ExpressionIndex, |
| 3650 | loc: Optional['ILSourceLocation'] = None |
| 3651 | ) -> ExpressionIndex: |
| 3652 | """ |
| 3653 | ``set_var_field`` sets the field ``offset`` of variable ``dest`` of size ``size`` to the expression ``src`` |
| 3654 | |
| 3655 | :param int size: the size of the field in bytes |
| 3656 | :param Variable dest: the variable being set |
| 3657 | :param int offset: offset of field in the variable |
| 3658 | :param ExpressionIndex src: expression with the value to set the field to |
| 3659 | :param ILSourceLocation loc: location of returned expression |
| 3660 | :return: The expression ``dest:offset = src`` |
| 3661 | :rtype: ExpressionIndex |
| 3662 | """ |
| 3663 | return self.expr(MediumLevelILOperation.MLIL_SET_VAR_FIELD, dest.identifier, offset, src, size=size, source_location=loc) |
| 3664 | |
| 3665 | def set_var_split( |
| 3666 | self, size: int, hi: 'variable.Variable', lo: 'variable.Variable', src: ExpressionIndex, |