| 1098 | return LowLevelILFlagCondition(self.instr.operands[operand_index]) |
| 1099 | |
| 1100 | def _get_int_list(self, operand_index: int) -> List[int]: |
| 1101 | count = ctypes.c_ulonglong() |
| 1102 | operand_list = core.BNLowLevelILGetOperandList(self.function.handle, self.expr_index, operand_index, count) |
| 1103 | assert operand_list is not None, "core.BNLowLevelILGetOperandList returned None" |
| 1104 | result: List[int] = [] |
| 1105 | try: |
| 1106 | for j in range(count.value): |
| 1107 | result.append(operand_list[j]) |
| 1108 | return result |
| 1109 | finally: |
| 1110 | core.BNLowLevelILFreeOperandList(operand_list) |
| 1111 | |
| 1112 | def _get_expr_list(self, operand_index: int) -> List['LowLevelILInstruction']: |
| 1113 | count = ctypes.c_ulonglong() |