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

Method Create

core/processview.cpp:101–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

99
100
101Ref<BinaryView> DebugProcessViewType::Create(BinaryView* data)
102{
103 try
104 {
105 // the null view must be ref-counted, otherwise there will be a memory leak
106 Ref<DebugNullView> nullView = new DebugNullView(data);
107 return new DebugProcessView(nullView, data);
108 }
109 catch (std::exception& e)
110 {
111 LogError("%s<BinaryViewType> failed to create view! '%s'", GetName().c_str(), e.what());
112 return nullptr;
113 }
114}
115
116
117Ref<BinaryView> DebugProcessViewType::Parse(BinaryView* data)

Callers 4

CreateDebugAdapterMethod · 0.45
DisasmDisplayFunction · 0.45
mainFunction · 0.45

Calls 1

whatMethod · 0.45

Tested by

no test coverage detected