``flag_bit`` sets the flag named ``flag`` and size ``size`` to the constant integer value ``bit`` :param int size: the size of the flag :param str flag: flag value :param int bit: integer value to set the bit to :param ILSourceLocation loc: location of returned expression :return: A co
( self, size: int, flag: 'architecture.FlagName', bit: int, loc: Optional['ILSourceLocation'] = None )
| 4504 | return self.expr(LowLevelILOperation.LLIL_FLAG, self.arch.get_flag_by_name(flag), source_location=loc) |
| 4505 | |
| 4506 | def flag_bit( |
| 4507 | self, size: int, flag: 'architecture.FlagName', bit: int, loc: Optional['ILSourceLocation'] = None |
| 4508 | ) -> ExpressionIndex: |
| 4509 | """ |
| 4510 | ``flag_bit`` sets the flag named ``flag`` and size ``size`` to the constant integer value ``bit`` |
| 4511 | |
| 4512 | :param int size: the size of the flag |
| 4513 | :param str flag: flag value |
| 4514 | :param int bit: integer value to set the bit to |
| 4515 | :param ILSourceLocation loc: location of returned expression |
| 4516 | :return: A constant expression of given value and size ``FLAG.flag = bit`` |
| 4517 | :rtype: ExpressionIndex |
| 4518 | """ |
| 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, |
no test coverage detected