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

Function BNGetDebuggerController

core/ffi.cpp:102–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100
101
102BNDebuggerController* BNGetDebuggerController(BNBinaryView* data)
103{
104 if (!data)
105 return nullptr;
106
107 Ref<BinaryView> view = new BinaryView(BNNewViewReference(data));
108 DebuggerController* controller = DebuggerController::GetController(view);
109 if (!controller)
110 return nullptr;
111
112 return DBG_API_OBJECT_REF(controller);
113}
114
115
116void BNDebuggerDestroyController(BNDebuggerController* controller)

Callers 1

GetControllerMethod · 0.85

Calls 1

DBG_API_OBJECT_REFFunction · 0.85

Tested by

no test coverage detected