| 100 | |
| 101 | |
| 102 | BNDebuggerController* 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 | |
| 116 | void BNDebuggerDestroyController(BNDebuggerController* controller) |
no test coverage detected