``set_flag`` sets the flag ``flag`` to the ExpressionIndex ``value`` :param str flag: the low register name :param ExpressionIndex value: an expression to set the flag to :param ILSourceLocation loc: location of returned expression :return: The expression FLAG.flag = value :rtype: Expr
( self, flag: 'architecture.FlagName', value: ExpressionIndex, loc: Optional['ILSourceLocation'] = None )
| 4284 | return self.expr(LowLevelILOperation.LLIL_REG_STACK_PUSH, _reg_stack, value, size=size, flags=flags, source_location=loc) |
| 4285 | |
| 4286 | def set_flag( |
| 4287 | self, flag: 'architecture.FlagName', value: ExpressionIndex, |
| 4288 | loc: Optional['ILSourceLocation'] = None |
| 4289 | ) -> ExpressionIndex: |
| 4290 | """ |
| 4291 | ``set_flag`` sets the flag ``flag`` to the ExpressionIndex ``value`` |
| 4292 | |
| 4293 | :param str flag: the low register name |
| 4294 | :param ExpressionIndex value: an expression to set the flag to |
| 4295 | :param ILSourceLocation loc: location of returned expression |
| 4296 | :return: The expression FLAG.flag = value |
| 4297 | :rtype: ExpressionIndex |
| 4298 | """ |
| 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, |
no test coverage detected