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

Method _get_int_list

python/mediumlevelil.py:1040–1050  ·  view source on GitHub ↗
(self, operand_index: int)

Source from the content-addressed store, hash-verified

1038 return SSAVariable(var, dest_version)
1039
1040 def _get_int_list(self, operand_index: int) -> List[int]:
1041 count = ctypes.c_ulonglong()
1042 operand_list = core.BNMediumLevelILGetOperandList(self.function.handle, self.expr_index, operand_index, count)
1043 assert operand_list is not None, "core.BNMediumLevelILGetOperandList returned None"
1044 value: List[int] = []
1045 try:
1046 for j in range(count.value):
1047 value.append(operand_list[j])
1048 return value
1049 finally:
1050 core.BNMediumLevelILFreeOperandList(operand_list)
1051
1052 def _get_var_list(self, operand_index1: int, operand_index2: int) -> List[variable.Variable]:
1053 # We keep this extra parameter around because when this function is called

Callers 1

src_memoryMethod · 0.45

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected