| 21 | using namespace std; |
| 22 | |
| 23 | DbgRef<DebuggerController> DebuggerController::GetController(Ref<BinaryNinja::BinaryView> data) |
| 24 | { |
| 25 | BNDebuggerController* controller = BNGetDebuggerController(data->GetObject()); |
| 26 | if (!controller) |
| 27 | return nullptr; |
| 28 | |
| 29 | return new DebuggerController(controller); |
| 30 | } |
| 31 | |
| 32 | |
| 33 | DebuggerController::DebuggerController(BNDebuggerController* controller) |
nothing calls this directly
no test coverage detected