MCPcopy Create free account
hub / github.com/Vector35/debugger / get_adapter_property

Method get_adapter_property

api/python/debuggercontroller.py:1374–1379  ·  view source on GitHub ↗
(self, name: str)

Source from the content-addressed store, hash-verified

1372 return dbgcore.BNDebuggerInvokeBackendCommand(self.handle, command)
1373
1374 def get_adapter_property(self, name: str) -> 'binaryninja.metadata.MetadataValueType':
1375 md_handle = dbgcore.BNDebuggerGetAdapterProperty(self.handle, name)
1376 if md_handle is None:
1377 raise KeyError(name)
1378 md_handle_BN = ctypes.cast(md_handle, ctypes.POINTER(binaryninja.core.BNMetadata))
1379 return binaryninja.metadata.Metadata(handle=md_handle_BN).value
1380
1381 def set_adapter_property(self, name: str, value: binaryninja.metadata.MetadataValueType) -> bool:
1382 _value = value

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected