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

Method get_external_location

python/binaryview.py:10048–10058  ·  view source on GitHub ↗

Get the ExternalLocation with the given source symbol in this BinaryView :param source_symbol: The source symbol of the ExternalLocation :return: An ExternalLocation with the given source symbol, or None

(self, source_symbol: '_types.CoreSymbol')

Source from the content-addressed store, hash-verified

10046 core.BNBinaryViewRemoveExternalLocation(self.handle, source_symbol._handle)
10047
10048 def get_external_location(self, source_symbol: '_types.CoreSymbol') -> Optional[externallibrary.ExternalLocation]:
10049 """
10050 Get the ExternalLocation with the given source symbol in this BinaryView
10051
10052 :param source_symbol: The source symbol of the ExternalLocation
10053 :return: An ExternalLocation with the given source symbol, or None
10054 """
10055 handle = core.BNBinaryViewGetExternalLocation(self.handle, source_symbol.handle)
10056 if handle is None:
10057 return None
10058 return externallibrary.ExternalLocation(handle)
10059
10060 def get_external_locations(self) -> List[externallibrary.ExternalLocation]:
10061 """

Callers

nothing calls this directly

Calls 1

ExternalLocationMethod · 0.80

Tested by

no test coverage detected