``load_struct`` Reads ``size`` bytes at the offset ``offset`` from the expression ``src`` :param int size: number of bytes to read :param ExpressionIndex src: the expression to read memory from :param int offset: offset of field in the memory :param ILSourceLocation loc: location of retu
( self, size: int, src: ExpressionIndex, offset: int, loc: Optional['ILSourceLocation'] = None )
| 3693 | return self.expr(MediumLevelILOperation.MLIL_LOAD, src, size=size, source_location=loc) |
| 3694 | |
| 3695 | def load_struct( |
| 3696 | self, size: int, src: ExpressionIndex, offset: int, loc: Optional['ILSourceLocation'] = None |
| 3697 | ) -> ExpressionIndex: |
| 3698 | """ |
| 3699 | ``load_struct`` Reads ``size`` bytes at the offset ``offset`` from the expression ``src`` |
| 3700 | |
| 3701 | :param int size: number of bytes to read |
| 3702 | :param ExpressionIndex src: the expression to read memory from |
| 3703 | :param int offset: offset of field in the memory |
| 3704 | :param ILSourceLocation loc: location of returned expression |
| 3705 | :return: The expression ``[(src + offset)].size`` (often rendered ``src->offset.size``) |
| 3706 | :rtype: ExpressionIndex |
| 3707 | """ |
| 3708 | return self.expr(MediumLevelILOperation.MLIL_LOAD_STRUCT, src, offset, size=size, source_location=loc) |
| 3709 | |
| 3710 | def store( |
| 3711 | self, size: int, dest: ExpressionIndex, src: ExpressionIndex, loc: Optional['ILSourceLocation'] = None |