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

Method get_expr_list

python/highlevelil.py:736–746  ·  view source on GitHub ↗
(self, operand_index1: int, operand_index2: int)

Source from the content-addressed store, hash-verified

734 core.BNHighLevelILFreeOperandList(operand_list)
735
736 def get_expr_list(self, operand_index1: int, operand_index2: int) -> List['HighLevelILInstruction']:
737 count = ctypes.c_ulonglong()
738 operand_list = core.BNHighLevelILGetOperandList(self.function.handle, self.expr_index, operand_index1, count)
739 assert operand_list is not None, "core.BNHighLevelILGetOperandList returned None"
740 value: List[HighLevelILInstruction] = []
741 try:
742 for j in range(count.value):
743 value.append(HighLevelILInstruction.create(self.function, operand_list[j], self.as_ast))
744 return value
745 finally:
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()

Callers 13

bodyMethod · 0.80
casesMethod · 0.80
valuesMethod · 0.80
srcMethod · 0.80
destMethod · 0.80
destMethod · 0.80
paramsMethod · 0.80
paramsMethod · 0.80
paramsMethod · 0.80
paramsMethod · 0.80
paramsMethod · 0.80
paramsMethod · 0.80

Calls 2

appendMethod · 0.45
createMethod · 0.45

Tested by

no test coverage detected