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

Method stringDoubleClicked

examples/triage/strings.cpp:215–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

213
214
215void StringsTreeView::stringDoubleClicked(const QModelIndex& cur)
216{
217 BNStringReference stringRef = m_model->getStringRefAt(cur);
218 if (stringRef.start == 0)
219 return;
220
221 ViewFrame* viewFrame = ViewFrame::viewFrameForWidget(this);
222 if (viewFrame)
223 {
224 viewFrame->navigate("Linear:" + viewFrame->getCurrentDataType(), stringRef.start);
225 }
226}
227
228
229void StringsTreeView::setFilter(const std::string& filterText)

Callers

nothing calls this directly

Calls 2

getStringRefAtMethod · 0.80
navigateMethod · 0.45

Tested by

no test coverage detected