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

Method _get_expr_list

python/mediumlevelil.py:1083–1093  ·  view source on GitHub ↗
(self, operand_index1: int, _: int)

Source from the content-addressed store, hash-verified

1081 core.BNMediumLevelILFreeOperandList(operand_list)
1082
1083 def _get_expr_list(self, operand_index1: int, _: int) -> List['MediumLevelILInstruction']:
1084 count = ctypes.c_ulonglong()
1085 operand_list = core.BNMediumLevelILGetOperandList(self.function.handle, self.expr_index, operand_index1, count)
1086 assert operand_list is not None, "core.BNMediumLevelILGetOperandList returned None"
1087 value: List['MediumLevelILInstruction'] = []
1088 try:
1089 for j in range(count.value):
1090 value.append(MediumLevelILInstruction.create(self.function, operand_list[j], None))
1091 return value
1092 finally:
1093 core.BNMediumLevelILFreeOperandList(operand_list)
1094
1095 def _get_target_map(self, operand_index1: int, _: int) -> Dict[int, int]:
1096 count = ctypes.c_ulonglong()

Callers 14

srcMethod · 0.45
srcMethod · 0.45
srcMethod · 0.45
srcMethod · 0.45
paramsMethod · 0.45
srcMethod · 0.45
paramsMethod · 0.45
paramsMethod · 0.45
paramsMethod · 0.45
paramsMethod · 0.45
paramsMethod · 0.45
paramsMethod · 0.45

Calls 2

appendMethod · 0.45
createMethod · 0.45

Tested by

no test coverage detected