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

Method get_label

python/highlevelil.py:4694–4698  ·  view source on GitHub ↗
(self, label_idx: int)

Source from the content-addressed store, hash-verified

4692 return result
4693
4694 def get_label(self, label_idx: int) -> Optional[HighLevelILInstruction]:
4695 result = core.BNGetHighLevelILExprIndexForLabel(self.handle, label_idx)
4696 if result >= core.BNGetHighLevelILExprCount(self.handle):
4697 return None
4698 return HighLevelILInstruction.create(self, ExpressionIndex(result))
4699
4700 def get_label_uses(self, label_idx: int) -> List[HighLevelILInstruction]:
4701 count = ctypes.c_ulonglong()

Callers 3

definitionMethod · 0.45
targetMethod · 0.45
targetMethod · 0.45

Calls 1

createMethod · 0.45

Tested by

no test coverage detected