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

Method get_string_hits

python/basedetection.py:289–302  ·  view source on GitHub ↗

``get_string_hits`` returns the number of times a pointer pointed to a string at the specified base address .. note:: Data variables are only used as points-of-interest if analysis doesn't discover enough strings and \ functions :param int base_address: bas

(self, base_address: int)

Source from the content-addressed store, hash-verified

287 return hits
288
289 def get_string_hits(self, base_address: int) -> int:
290 """
291 ``get_string_hits`` returns the number of times a pointer pointed to a string at the specified
292 base address
293
294 .. note:: Data variables are only used as points-of-interest if analysis doesn't discover enough strings and \
295 functions
296
297 :param int base_address: base address to get string hits for
298 :return: number of string hits for the specified base address
299 :rtype: int
300 """
301
302 return self._get_data_hits_by_type(base_address, BaseAddressDetectionPOIType.POIString)
303
304 def get_function_hits(self, base_address: int) -> int:
305 """

Callers 1

mainFunction · 0.95

Calls 1

Tested by

no test coverage detected