summaryrefslogtreecommitdiff
path: root/view/sharedcache/core/DSCView.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'view/sharedcache/core/DSCView.cpp')
-rw-r--r--view/sharedcache/core/DSCView.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/view/sharedcache/core/DSCView.cpp b/view/sharedcache/core/DSCView.cpp
index e690f765..7a1b3677 100644
--- a/view/sharedcache/core/DSCView.cpp
+++ b/view/sharedcache/core/DSCView.cpp
@@ -207,8 +207,7 @@ bool DSCView::Init()
if (!settings)
{
Ref<Settings> programSettings = Settings::Instance();
- programSettings->Set("workflows.enable", true, this);
- programSettings->Set("workflows.functionWorkflow", "core.function.dsc", this);
+ programSettings->Set("analysis.workflows.functionWorkflow", "core.function.dsc", this);
}
// Add Mach-O file header type info
@@ -751,6 +750,7 @@ bool DSCView::Init()
}
AddAutoSegment(primaryBase, 0x200, 0, 0x200, SegmentReadable);
+ AddAutoSection("__dsc_header", primaryBase, 0x200, ReadOnlyCodeSectionSemantics);
DefineType("dyld_cache_header", headerType.name, headerType.type);
DefineAutoSymbolAndVariableOrFunction(GetDefaultPlatform(), new Symbol(DataSymbol, "primary_cache_header", primaryBase), headerType.type);
@@ -789,7 +789,7 @@ Ref<Settings> DSCViewType::GetLoadSettingsForData(BinaryView* data)
}
Ref<Settings> programSettings = Settings::Instance();
- programSettings->Set("workflows.functionWorkflow", "core.function.dsc", viewRef);
+ programSettings->Set("analysis.workflows.functionWorkflow", "core.function.dsc", viewRef);
settings->RegisterSetting("loader.dsc.processCFStrings",
R"({