``add`` adds expression ``a`` to expression ``b`` potentially setting flags ``flags`` and returning an expression of ``size`` bytes. :param int size: the size of the result in bytes :param ExpressionIndex a: LHS expression :param ExpressionIndex b: RHS expression :param str flags: flag
( self, size: int, a: ExpressionIndex, b: ExpressionIndex, flags: Optional['architecture.FlagType'] = None, loc: Optional['ILSourceLocation'] = None )
| 4519 | return self.expr(LowLevelILOperation.LLIL_FLAG_BIT, self.arch.get_flag_by_name(flag), bit, size=size, source_location=loc) |
| 4520 | |
| 4521 | def add( |
| 4522 | self, size: int, a: ExpressionIndex, b: ExpressionIndex, flags: Optional['architecture.FlagType'] = None, |
| 4523 | loc: Optional['ILSourceLocation'] = None |
| 4524 | ) -> ExpressionIndex: |
| 4525 | """ |
| 4526 | ``add`` adds expression ``a`` to expression ``b`` potentially setting flags ``flags`` and returning |
| 4527 | an expression of ``size`` bytes. |
| 4528 | |
| 4529 | :param int size: the size of the result in bytes |
| 4530 | :param ExpressionIndex a: LHS expression |
| 4531 | :param ExpressionIndex b: RHS expression |
| 4532 | :param str flags: flags to set |
| 4533 | :param ILSourceLocation loc: location of returned expression |
| 4534 | :return: The expression ``add.<size>{<flags>}(a, b)`` |
| 4535 | :rtype: ExpressionIndex |
| 4536 | """ |
| 4537 | return self.expr(LowLevelILOperation.LLIL_ADD, a, b, size=size, flags=flags, source_location=loc) |
| 4538 | |
| 4539 | def add_carry( |
| 4540 | self, size: int, a: ExpressionIndex, b: ExpressionIndex, carry: ExpressionIndex, |
no test coverage detected