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

Method stringSelected

examples/triage/strings.cpp:205–212  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

203
204
205void StringsTreeView::stringSelected(const QModelIndex& cur, const QModelIndex&)
206{
207 BNStringReference stringRef = m_model->getStringRefAt(cur);
208 if (stringRef.start == 0)
209 return;
210
211 m_view->setCurrentOffset(stringRef.start);
212}
213
214
215void StringsTreeView::stringDoubleClicked(const QModelIndex& cur)

Callers

nothing calls this directly

Calls 2

getStringRefAtMethod · 0.80
setCurrentOffsetMethod · 0.45

Tested by

no test coverage detected