``get_expr_count`` gives a the total number of expressions in this IL function You can use this to enumerate all expressions in conjunction with :py:func:`get_expr` .. warning :: Not all IL expressions are valid, even if their index is within the returned value from this, th
(self)
| 3839 | return ExpressionIndex(core.BNLowLevelILAddExpr(self.handle, operation, size, _flags, a, b, c, d)) |
| 3840 | |
| 3841 | def get_expr_count(self) -> int: |
| 3842 | """ |
| 3843 | ``get_expr_count`` gives a the total number of expressions in this IL function |
| 3844 | |
| 3845 | You can use this to enumerate all expressions in conjunction with :py:func:`get_expr` |
| 3846 | |
| 3847 | .. warning :: Not all IL expressions are valid, even if their index is within the returned value from this, |
| 3848 | they might not be used by the function and might not contain properly structured data. |
| 3849 | |
| 3850 | :return: The number of expressions in the function |
| 3851 | """ |
| 3852 | return core.BNGetLowLevelILExprCount(self.handle) |
| 3853 | |
| 3854 | def get_expr(self, index: ExpressionIndex) -> Optional[LowLevelILInstruction]: |
| 3855 | """ |