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

Method GetByName

api/debugadaptertype.cpp:24–31  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

22
23
24DebugAdapterType* DebugAdapterType::GetByName(const std::string& name)
25{
26 BNDebugAdapterType* adapter = BNGetDebugAdapterTypeByName(name.c_str());
27 if (!adapter)
28 return nullptr;
29
30 return new DebugAdapterType(adapter);
31}
32
33
34DebugAdapterType::DebugAdapterType(BNDebugAdapterType* controller)

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected