``store_struct`` Writes ``size`` bytes to expression ``dest`` at the offset ``offset`` read from expression ``src`` :param int size: number of bytes to write :param ExpressionIndex dest: the expression to write to :param int offset: offset of field in the memory :param ExpressionIndex sr
( self, size: int, dest: ExpressionIndex, offset: int, src: ExpressionIndex, loc: Optional['ILSourceLocation'] = None )
| 3723 | return self.expr(MediumLevelILOperation.MLIL_STORE, dest, src, size=size, source_location=loc) |
| 3724 | |
| 3725 | def store_struct( |
| 3726 | self, size: int, dest: ExpressionIndex, offset: int, src: ExpressionIndex, loc: Optional['ILSourceLocation'] = None |
| 3727 | ) -> ExpressionIndex: |
| 3728 | """ |
| 3729 | ``store_struct`` Writes ``size`` bytes to expression ``dest`` at the offset ``offset`` read from expression ``src`` |
| 3730 | |
| 3731 | :param int size: number of bytes to write |
| 3732 | :param ExpressionIndex dest: the expression to write to |
| 3733 | :param int offset: offset of field in the memory |
| 3734 | :param ExpressionIndex src: the expression to be written |
| 3735 | :param ILSourceLocation loc: location of returned expression |
| 3736 | :return: The expression ``[(dest + offset)].size = src`` (often rendered ``dest->offset.size``) |
| 3737 | :rtype: ExpressionIndex |
| 3738 | """ |
| 3739 | return self.expr(MediumLevelILOperation.MLIL_STORE_STRUCT, dest, offset, src, size=size, source_location=loc) |
| 3740 | |
| 3741 | def var(self, size: int, src: 'variable.Variable', loc: Optional['ILSourceLocation'] = None) -> ExpressionIndex: |
| 3742 | """ |