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

Method get_function_hits

python/basedetection.py:304–314  ·  view source on GitHub ↗

``get_function_hits`` returns the number of times a pointer pointed to a function at the specified base address :param int base_address: base address to get function hits for :return: number of function hits for the specified base address :rtype: int

(self, base_address: int)

Source from the content-addressed store, hash-verified

302 return self._get_data_hits_by_type(base_address, BaseAddressDetectionPOIType.POIString)
303
304 def get_function_hits(self, base_address: int) -> int:
305 """
306 ``get_function_hits`` returns the number of times a pointer pointed to a function at the
307 specified base address
308
309 :param int base_address: base address to get function hits for
310 :return: number of function hits for the specified base address
311 :rtype: int
312 """
313
314 return self._get_data_hits_by_type(base_address, BaseAddressDetectionPOIType.POIFunction)
315
316 def get_data_hits(self, base_address: int) -> int:
317 """

Callers 1

mainFunction · 0.95

Calls 1

Tested by

no test coverage detected