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

Function _get_current_raw_offset

python/scriptingprovider.py:1407–1411  ·  view source on GitHub ↗
(instance: PythonScriptingInstance)

Source from the content-addressed store, hash-verified

1405
1406
1407def _get_current_raw_offset(instance: PythonScriptingInstance):
1408 if instance.interpreter.active_view is not None:
1409 return instance.interpreter.active_view.get_data_offset_for_address(instance.interpreter.active_addr)
1410 else:
1411 return None
1412
1413
1414def _set_current_raw_offset(instance: PythonScriptingInstance, old_value: Any, new_value: Any):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected