diff options
| author | rose <47357290+rompse@users.noreply.github.com> | 2021-10-05 17:20:51 -0400 |
|---|---|---|
| committer | rose <47357290+rompse@users.noreply.github.com> | 2021-10-06 15:55:01 -0400 |
| commit | a396e114c14c5c1cf9fa12688fdbdafe2f07b61b (patch) | |
| tree | 16c00c4b78413e0aea992de48601f2a7a5aec191 /examples/triage/view.cpp | |
| parent | c4f4bf5be39c224b619a5928d380d91122ecf1d8 (diff) | |
TriageView: path, size, md5, sha1, sha256
Diffstat (limited to 'examples/triage/view.cpp')
| -rw-r--r-- | examples/triage/view.cpp | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/examples/triage/view.cpp b/examples/triage/view.cpp index e69fa0d9..2c5f7b9b 100644 --- a/examples/triage/view.cpp +++ b/examples/triage/view.cpp @@ -6,9 +6,10 @@ #include "imports.h" #include "exports.h" #include "sections.h" +#include "fileinfo.h" #include "headers.h" #include "fontsettings.h" - +#include <binaryninjacore.h> TriageView::TriageView(QWidget* parent, BinaryViewRef data): QScrollArea(parent) { @@ -25,6 +26,12 @@ TriageView::TriageView(QWidget* parent, BinaryViewRef data): QScrollArea(parent) entropyGroup->setLayout(entropyLayout); layout->addWidget(entropyGroup); + QGroupBox* fileInfoGroup = new QGroupBox("File Info", container); + QVBoxLayout* fileInfoLayout = new QVBoxLayout(); + fileInfoLayout->addWidget(new FileInfoWidget(fileInfoGroup, m_data)); + fileInfoGroup->setLayout(fileInfoLayout); + layout->addWidget(fileInfoGroup); + Headers* hdr = nullptr; if (m_data->GetTypeName() == "PE") hdr = new PEHeaders(m_data); |
