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

Method set_adapter_property

api/python/debuggercontroller.py:1381–1386  ·  view source on GitHub ↗
(self, name: str, value: binaryninja.metadata.MetadataValueType)

Source from the content-addressed store, hash-verified

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
1383 if not isinstance(_value, binaryninja.metadata.Metadata):
1384 _value = binaryninja.metadata.Metadata(_value)
1385 handle = ctypes.cast(_value.handle, ctypes.POINTER(dbgcore.BNMetadata))
1386 return dbgcore.BNDebuggerSetAdapterProperty(self.handle, name, handle)
1387
1388 def get_addr_info(self, addr: int):
1389 return dbgcore.BNDebuggerGetAddressInformation(self.handle, addr)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected