We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 620588c commit 8e4f68bCopy full SHA for 8e4f68b
view/sharedcache/core/DSCView.cpp
@@ -192,6 +192,9 @@ bool DSCView::Init()
192
programSettings->Set("analysis.workflows.functionWorkflow", "core.function.dsc", this);
193
}
194
195
+ if (m_parseOnly)
196
+ return true;
197
+
198
// Add Mach-O file header type info
199
EnumerationBuilder cpuTypeBuilder;
200
cpuTypeBuilder.AddMemberWithValue("CPU_TYPE_ANY", MACHO_CPU_TYPE_ANY);
view/sharedcache/core/DSCView.h
@@ -9,7 +9,7 @@
9
10
11
class DSCView : public BinaryNinja::BinaryView {
12
- [[maybe_unused]] bool m_parseOnly;
+ bool m_parseOnly;
13
public:
14
15
DSCView(const std::string &typeName, BinaryView *data, bool parseOnly = false);
0 commit comments