( self, operation: Union[str, HighLevelILOperation], a: int = 0, b: int = 0, c: int = 0, d: int = 0, e: int = 0, size: int = 0, source_location: Optional['ILSourceLocation'] = None )
| 2854 | return result |
| 2855 | |
| 2856 | def expr( |
| 2857 | self, operation: Union[str, HighLevelILOperation], a: int = 0, b: int = 0, c: int = 0, d: int = 0, e: int = 0, |
| 2858 | size: int = 0, |
| 2859 | source_location: Optional['ILSourceLocation'] = None |
| 2860 | ) -> ExpressionIndex: |
| 2861 | if isinstance(operation, str): |
| 2862 | operation_value = HighLevelILOperation[operation] |
| 2863 | else: |
| 2864 | assert isinstance(operation, HighLevelILOperation) |
| 2865 | operation_value = operation.value |
| 2866 | if source_location is not None: |
| 2867 | return ExpressionIndex(core.BNHighLevelILAddExprWithLocation( |
| 2868 | self.handle, |
| 2869 | operation_value, |
| 2870 | source_location.address, |
| 2871 | source_location.source_operand, |
| 2872 | size, |
| 2873 | a, |
| 2874 | b, |
| 2875 | c, |
| 2876 | d, |
| 2877 | e |
| 2878 | )) |
| 2879 | else: |
| 2880 | return ExpressionIndex(core.BNHighLevelILAddExpr(self.handle, operation_value, size, a, b, c, d, e)) |
| 2881 | |
| 2882 | def get_expr_count(self) -> int: |
| 2883 | """ |
no outgoing calls