``add_operand_list`` returns an operand list expression for the given list of integer operands. :param operands: list of operand numbers :type operands: List(Union[ExpressionIndex, ExpressionIndex]) :return: an operand list expression :rtype: ExpressionIndex
(self, operands: List[Union[ExpressionIndex, ExpressionIndex]])
| 5882 | return ExpressionIndex(core.BNLowLevelILAddLabelMap(self.handle, value_list, label_list, len(labels))) |
| 5883 | |
| 5884 | def add_operand_list(self, operands: List[Union[ExpressionIndex, ExpressionIndex]]) -> ExpressionIndex: |
| 5885 | """ |
| 5886 | ``add_operand_list`` returns an operand list expression for the given list of integer operands. |
| 5887 | |
| 5888 | :param operands: list of operand numbers |
| 5889 | :type operands: List(Union[ExpressionIndex, ExpressionIndex]) |
| 5890 | :return: an operand list expression |
| 5891 | :rtype: ExpressionIndex |
| 5892 | """ |
| 5893 | operand_list = (ctypes.c_ulonglong * len(operands))() |
| 5894 | for i in range(len(operands)): |
| 5895 | op = operands[i] |
| 5896 | if isinstance(op, int): |
| 5897 | operand_list[i] = ExpressionIndex(op) |
| 5898 | else: |
| 5899 | raise Exception("Invalid operand type") |
| 5900 | return ExpressionIndex(core.BNLowLevelILAddOperandList(self.handle, operand_list, len(operands))) |
| 5901 | |
| 5902 | def operand(self, n: int, expr: ExpressionIndex) -> ExpressionIndex: |
| 5903 | """ |