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

Method DSCTriageView

view/sharedcache/ui/dsctriage.cpp:40–67  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

38
39
40DSCTriageView::DSCTriageView(QWidget* parent, BinaryViewRef data) : QWidget(parent), m_data(std::move(data))
41{
42 setBinaryDataNavigable(false);
43 setupView(this);
44
45 UIContext::registerNotification(this);
46
47 m_triageCollection = new DockableTabCollection();
48 m_triageTabs = new SplitTabWidget(m_triageCollection);
49
50 auto triageTabStyle = new GlobalAreaTabStyle();
51 m_triageTabs->setTabStyle(triageTabStyle);
52
53 QWidget* defaultWidget = initImageTable();
54 initSymbolTable();
55 initCacheInfoTables();
56
57 m_layout = new QVBoxLayout(this);
58 m_layout->addWidget(m_triageTabs);
59 setLayout(m_layout);
60
61 // In case we have already initialized the controller (user has opened this view type again)
62 // we will call refresh data. If this is the first triage view constructed (i.e. before view init) then this
63 // will do nothing.
64 RefreshData();
65
66 m_triageTabs->selectWidget(defaultWidget);
67}
68
69
70DSCTriageView::~DSCTriageView()

Callers

nothing calls this directly

Calls 1

setBinaryDataNavigableFunction · 0.85

Tested by

no test coverage detected