diff options
| author | kat <kat@vector35.com> | 2024-10-28 12:58:23 -0400 |
|---|---|---|
| committer | kat <kat@vector35.com> | 2024-10-28 12:58:51 -0400 |
| commit | fc5ffbbcfbc16402583a9e05d7db3036ad587066 (patch) | |
| tree | 1448f57740483206a1fa688e605724188129ea05 /view/sharedcache/core/DSCView.cpp | |
| parent | 07bce5f257d30061475452ec9c2e06a132747b54 (diff) | |
[SharedCache] Warnings Cleanup
Diffstat (limited to 'view/sharedcache/core/DSCView.cpp')
| -rw-r--r-- | view/sharedcache/core/DSCView.cpp | 6 |
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"({ |
