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

Method _get_int_list

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

Source from the content-addressed store, hash-verified

1098 return LowLevelILFlagCondition(self.instr.operands[operand_index])
1099
1100 def _get_int_list(self, operand_index: int) -> List[int]:
1101 count = ctypes.c_ulonglong()
1102 operand_list = core.BNLowLevelILGetOperandList(self.function.handle, self.expr_index, operand_index, count)
1103 assert operand_list is not None, "core.BNLowLevelILGetOperandList returned None"
1104 result: List[int] = []
1105 try:
1106 for j in range(count.value):
1107 result.append(operand_list[j])
1108 return result
1109 finally:
1110 core.BNLowLevelILFreeOperandList(operand_list)
1111
1112 def _get_expr_list(self, operand_index: int) -> List['LowLevelILInstruction']:
1113 count = ctypes.c_ulonglong()

Callers 1

src_memoryMethod · 0.45

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected