(self, operand_index1: int, _: int)
| 746 | core.BNHighLevelILFreeOperandList(operand_list) |
| 747 | |
| 748 | def get_var_ssa_list(self, operand_index1: int, _: int) -> List['mediumlevelil.SSAVariable']: |
| 749 | count = ctypes.c_ulonglong() |
| 750 | operand_list = core.BNHighLevelILGetOperandList(self.function.handle, self.expr_index, operand_index1, count) |
| 751 | assert operand_list is not None, "core.BNHighLevelILGetOperandList returned None" |
| 752 | value = [] |
| 753 | try: |
| 754 | for j in range(count.value // 2): |
| 755 | var_id = operand_list[j * 2] |
| 756 | var_version = operand_list[(j*2) + 1] |
| 757 | value.append( |
| 758 | mediumlevelil.SSAVariable(variable.Variable.from_identifier(self.function, var_id), var_version) |
| 759 | ) |
| 760 | return value |
| 761 | finally: |
| 762 | core.BNMediumLevelILFreeOperandList(operand_list) |
| 763 | |
| 764 | def get_member_index(self, operand_index: int) -> Optional[int]: |
| 765 | value = self.core_instr.operands[operand_index] |
no test coverage detected