summaryrefslogtreecommitdiff
path: root/examples/triage/view.cpp
diff options
context:
space:
mode:
authorop2786 <op2786@proton.me>2022-10-31 13:17:40 +0100
committerXusheng <xusheng@vector35.com>2023-01-05 16:41:21 +0800
commitb4b6d3f5ca9751df27287684fa1fc21170e62d59 (patch)
tree2328886e8ef6eb084984077f7b09606fc7d302f5 /examples/triage/view.cpp
parent69e95dfa4617e4257a8b021eae8184c2f0fcbbd9 (diff)
added string list for triage view
Diffstat (limited to 'examples/triage/view.cpp')
-rw-r--r--examples/triage/view.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/examples/triage/view.cpp b/examples/triage/view.cpp
index dafd41bf..87cdb61a 100644
--- a/examples/triage/view.cpp
+++ b/examples/triage/view.cpp
@@ -9,6 +9,7 @@
#include "fileinfo.h"
#include "librariesinfo.h"
#include "headers.h"
+#include "strings.h"
#include "fontsettings.h"
#include <binaryninjacore.h>
@@ -96,6 +97,12 @@ TriageView::TriageView(QWidget* parent, BinaryViewRef data) : QScrollArea(parent
if (sectionsWidget->GetSections().size() == 0)
sectionsGroup->hide();
+ QGroupBox* stringsGroup = new QGroupBox("Strings", container);
+ QVBoxLayout* stringsLayout = new QVBoxLayout();
+ stringsLayout->addWidget(new StringsWidget(stringsGroup, this, m_data));
+ stringsGroup->setLayout(stringsLayout);
+ layout->addWidget(stringsGroup);
+
QHBoxLayout* buttonLayout = new QHBoxLayout();
buttonLayout->addStretch(1);
m_fullAnalysisButton = new QPushButton("Start Full Analysis");