debugger.debugadaptertype module

binaryninja.debugger.debugadaptertype.DebugAdapterType(hande)

The DebugAdapterType object is used to access the DebugAdapters.

class DebugAdapterType(hande: BNDebugAdapterType)[source]

Bases: object

The DebugAdapterType object is used to access the DebugAdapters. DebugAdapterType should not be directly instantiated; instead, use get_by_name to get an instance of DebugAdapter by name.

Right now, the DebugAdapterType class cannot be used to create a DebuggerController. This is planned for the future.

Parameters:

hande (BNDebugAdapterType) –

can_connect(bv: BinaryView) bool[source]

Whether the current DebugAdapterType can connect to a remote host for the specified BinaryView

Parameters:

bv (BinaryView) – the BinaryView to check for

Returns:

Return type:

bool

can_execute(bv: BinaryView) bool[source]

Whether the current DebugAdapterType can execute the specified BinaryView

Parameters:

bv (BinaryView) – the BinaryView to check for

Returns:

Return type:

bool

static get_available_adapters(bv: BinaryView) List[str][source]

Get a list of available DebugAdapters for the specified BinaryView. The DebugAdapters in the list can be used to debug the BinaryView.

Parameters:

bv (BinaryView) – the BinaryView to check for

Returns:

list of available DebugAdapters

Return type:

List[str]

classmethod get_by_name(name: str) None[source]

Get a DebugAdapterType by its name.

Parameters:

name (str) – the name of the DebugAdapterType

Returns:

Return type:

None