| 1081 | core.BNMediumLevelILFreeOperandList(operand_list) |
| 1082 | |
| 1083 | def _get_expr_list(self, operand_index1: int, _: int) -> List['MediumLevelILInstruction']: |
| 1084 | count = ctypes.c_ulonglong() |
| 1085 | operand_list = core.BNMediumLevelILGetOperandList(self.function.handle, self.expr_index, operand_index1, count) |
| 1086 | assert operand_list is not None, "core.BNMediumLevelILGetOperandList returned None" |
| 1087 | value: List['MediumLevelILInstruction'] = [] |
| 1088 | try: |
| 1089 | for j in range(count.value): |
| 1090 | value.append(MediumLevelILInstruction.create(self.function, operand_list[j], None)) |
| 1091 | return value |
| 1092 | finally: |
| 1093 | core.BNMediumLevelILFreeOperandList(operand_list) |
| 1094 | |
| 1095 | def _get_target_map(self, operand_index1: int, _: int) -> Dict[int, int]: |
| 1096 | count = ctypes.c_ulonglong() |