MCPcopy Create free account
hub / github.com/Vector35/binaryninja-api / entryDoubleClicked

Method entryDoubleClicked

examples/triage/entry.cpp:189–209  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

187
188
189void EntryTreeView::entryDoubleClicked(const QModelIndex& cur)
190{
191 FunctionRef func = m_model->getEntry(cur);
192 if (func)
193 {
194 ViewFrame* viewFrame = ViewFrame::viewFrameForWidget(this);
195 if (viewFrame)
196 {
197 if (BinaryNinja::Settings::Instance()->Get<bool>("ui.view.graph.preferred") &&
198 viewFrame->getCurrentBinaryView() &&
199 func->GetStart() > 0)
200 {
201 viewFrame->navigate("Graph:" + viewFrame->getCurrentDataType(), func->GetStart());
202 }
203 else
204 {
205 viewFrame->navigate("Linear:" + viewFrame->getCurrentDataType(), func->GetStart());
206 }
207 }
208 }
209}
210
211
212void EntryTreeView::setFilter(const std::string& filterText)

Callers

nothing calls this directly

Calls 4

getEntryMethod · 0.80
Get<bool>Method · 0.80
GetStartMethod · 0.45
navigateMethod · 0.45

Tested by

no test coverage detected