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

Method _address_action

python/plugin.py:143–149  ·  view source on GitHub ↗
(view, addr, action)

Source from the content-addressed store, hash-verified

141
142 @staticmethod
143 def _address_action(view, addr, action):
144 try:
145 file_metadata = filemetadata.FileMetadata(handle=core.BNGetFileForView(view))
146 view_obj = binaryview.BinaryView(file_metadata=file_metadata, handle=core.BNNewViewReference(view))
147 action(view_obj, addr)
148 except:
149 log_error(traceback.format_exc())
150
151 @staticmethod
152 def _range_action(view, addr, length, action):

Callers 1

register_for_addressMethod · 0.80

Calls 3

log_errorFunction · 0.85
FileMetadataMethod · 0.80
BinaryViewMethod · 0.80

Tested by

no test coverage detected