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

Method _get_expr_list

python/lowlevelil.py:1112–1122  ·  view source on GitHub ↗
(self, operand_index: int)

Source from the content-addressed store, hash-verified

1110 core.BNLowLevelILFreeOperandList(operand_list)
1111
1112 def _get_expr_list(self, operand_index: int) -> List['LowLevelILInstruction']:
1113 count = ctypes.c_ulonglong()
1114 operand_list = core.BNLowLevelILGetOperandList(self.function.handle, self.expr_index, operand_index, count)
1115 assert operand_list is not None, "core.BNLowLevelILGetOperandList returned None"
1116 result = []
1117 try:
1118 for j in range(count.value):
1119 result.append(LowLevelILInstruction.create(self.function, operand_list[j], None))
1120 return result
1121 finally:
1122 core.BNLowLevelILFreeOperandList(operand_list)
1123
1124 def _get_reg_or_flag_list(self, operand_index: int) -> List[Union[ILFlag, ILRegister]]:
1125 count = ctypes.c_ulonglong()

Callers 3

srcMethod · 0.45
srcMethod · 0.45
srcMethod · 0.45

Calls 2

appendMethod · 0.45
createMethod · 0.45

Tested by

no test coverage detected