MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / add_operand_list

Method add_operand_list

python/mediumlevelil.py:5258–5270  ·  view source on GitHub ↗

``add_operand_list`` returns an operand list expression for the given list of integer operands. :param operands: list of operand numbers :type operands: list(int) :return: an operand list expression :rtype: ExpressionIndex

(self, operands: List[ExpressionIndex])

Source from the content-addressed store, hash-verified

5256 return ExpressionIndex(core.BNMediumLevelILAddLabelMap(self.handle, value_list, label_list, len(labels)))
5257
5258 def add_operand_list(self, operands: List[ExpressionIndex]) -> ExpressionIndex:
5259 """
5260 ``add_operand_list`` returns an operand list expression for the given list of integer operands.
5261
5262 :param operands: list of operand numbers
5263 :type operands: list(int)
5264 :return: an operand list expression
5265 :rtype: ExpressionIndex
5266 """
5267 operand_list = (ctypes.c_ulonglong * len(operands))()
5268 for i in range(len(operands)):
5269 operand_list[i] = operands[i]
5270 return ExpressionIndex(core.BNMediumLevelILAddOperandList(self.handle, operand_list, len(operands)))
5271
5272 def add_variable_list(self, vars: List['variable.Variable']) -> ExpressionIndex:
5273 """

Callers 8

callMethod · 0.95
call_untypedMethod · 0.95
system_callMethod · 0.95
system_call_untypedMethod · 0.95
tailcallMethod · 0.95
tailcall_untypedMethod · 0.95
retMethod · 0.95
intrinsicMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected