``load`` Reads ``size`` bytes from the expression ``addr`` :param int size: number of bytes to read :param ExpressionIndex addr: the expression to read memory from :param FlagName flags: which flags are set by this operation :param ILSourceLocation loc: location of returned expression
( self, size: int, addr: ExpressionIndex, flags: Optional['architecture.FlagName'] = None, loc: Optional['ILSourceLocation'] = None )
| 4299 | return self.expr(LowLevelILOperation.LLIL_SET_FLAG, ExpressionIndex(self.arch.get_flag_by_name(flag)), value, source_location=loc) |
| 4300 | |
| 4301 | def load( |
| 4302 | self, size: int, addr: ExpressionIndex, flags: Optional['architecture.FlagName'] = None, |
| 4303 | loc: Optional['ILSourceLocation'] = None |
| 4304 | ) -> ExpressionIndex: |
| 4305 | """ |
| 4306 | ``load`` Reads ``size`` bytes from the expression ``addr`` |
| 4307 | |
| 4308 | :param int size: number of bytes to read |
| 4309 | :param ExpressionIndex addr: the expression to read memory from |
| 4310 | :param FlagName flags: which flags are set by this operation |
| 4311 | :param ILSourceLocation loc: location of returned expression |
| 4312 | :return: The expression ``[addr].size`` |
| 4313 | :rtype: ExpressionIndex |
| 4314 | """ |
| 4315 | return self.expr(LowLevelILOperation.LLIL_LOAD, addr, size=size, flags=flags, source_location=loc) |
| 4316 | |
| 4317 | def store( |
| 4318 | self, size: int, addr: ExpressionIndex, value: ExpressionIndex, flags: Optional['architecture.FlagName'] = None, |