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

Method add_variable_list

python/mediumlevelil.py:5272–5284  ·  view source on GitHub ↗

``add_variable_list`` returns a variable list expression for the given list of variables. :param vars: list of variables :type vars: list(variable.Variable) :return: a variable list expression :rtype: ExpressionIndex

(self, vars: List['variable.Variable'])

Source from the content-addressed store, hash-verified

5270 return ExpressionIndex(core.BNMediumLevelILAddOperandList(self.handle, operand_list, len(operands)))
5271
5272 def add_variable_list(self, vars: List['variable.Variable']) -> ExpressionIndex:
5273 """
5274 ``add_variable_list`` returns a variable list expression for the given list of variables.
5275
5276 :param vars: list of variables
5277 :type vars: list(variable.Variable)
5278 :return: a variable list expression
5279 :rtype: ExpressionIndex
5280 """
5281 operand_list = (ctypes.c_uint64 * len(vars))()
5282 for i in range(len(vars)):
5283 operand_list[i] = vars[i].identifier
5284 return ExpressionIndex(core.BNMediumLevelILAddOperandList(self.handle, operand_list, len(vars)))
5285
5286 def finalize(self) -> None:
5287 """

Callers 7

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

Calls

no outgoing calls

Tested by

no test coverage detected