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

Method _is_valid_for_data

python/binaryview.py:2783–2789  ·  view source on GitHub ↗
(cls, ctxt, data)

Source from the content-addressed store, hash-verified

2781
2782 @classmethod
2783 def _is_valid_for_data(cls, ctxt, data):
2784 try:
2785 # I'm not sure whats going on here even so I've suppressed the linter warning
2786 return cls.is_valid_for_data(BinaryView(handle=core.BNNewViewReference(data))) # type: ignore
2787 except:
2788 log_error(traceback.format_exc())
2789 return False
2790
2791 @classmethod
2792 def _is_deprecated(cls, ctxt):

Callers

nothing calls this directly

Calls 3

log_errorFunction · 0.85
BinaryViewClass · 0.70
is_valid_for_dataMethod · 0.45

Tested by

no test coverage detected