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

Function fuzzy_match

python/bncompleter.py:53–59  ·  view source on GitHub ↗
(target, query)

Source from the content-addressed store, hash-verified

51
52
53def fuzzy_match(target, query):
54 if query == "":
55 return 1
56 if binaryninja.Settings().get_bool("ui.scripting.fuzzySearch"):
57 return binaryninja.fuzzy_match_single(target, query)
58 else:
59 return 1 if target.startswith(query) else None
60
61
62def fnsignature(obj):

Callers 2

global_matchesMethod · 0.85
attr_matchesMethod · 0.85

Calls 2

get_boolMethod · 0.45
SettingsMethod · 0.45

Tested by

no test coverage detected