diff options
| author | Brian Potchik <brian@vector35.com> | 2025-07-14 15:25:20 -0400 |
|---|---|---|
| committer | Brian Potchik <brian@vector35.com> | 2025-07-14 15:25:20 -0400 |
| commit | 7fc56eae3bae6f4f9023f3417300784b30c73f3b (patch) | |
| tree | 4911a4840379556e21929c72e90876ea9a73fec3 /view/macho | |
| parent | 5bafe5c7bdb0b56037a0b5c573236f9c6367353a (diff) | |
Revert "Update Objective-C Workflow to use the meta workflow."
This reverts commit 5bafe5c7bdb0b56037a0b5c573236f9c6367353a.
Diffstat (limited to 'view/macho')
| -rw-r--r-- | view/macho/machoview.cpp | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/view/macho/machoview.cpp b/view/macho/machoview.cpp index f5cf66d2..4e228a33 100644 --- a/view/macho/machoview.cpp +++ b/view/macho/machoview.cpp @@ -1867,8 +1867,13 @@ bool MachoView::InitializeHeader(MachOHeader& header, bool isMainHeader, uint64_ if (!settings) // Add our defaults { Ref<Settings> programSettings = Settings::Instance(); - if (programSettings->Contains("analysis.objectiveC.resolveMethodCalls")) - programSettings->Set("analysis.objectiveC.resolveMethodCalls", true, this); + if (programSettings->Contains("corePlugins.workflows.objc")) + { + if (programSettings->Get<bool>("corePlugins.workflows.objc")) + { + programSettings->Set("analysis.workflows.functionWorkflow", "core.function.objectiveC", this); + } + } } } @@ -4134,8 +4139,13 @@ Ref<Settings> MachoViewType::GetLoadSettingsForData(BinaryView* data) "description" : "Processes Objective-C structures, applying method names and types from encoded metadata" })"); Ref<Settings> programSettings = Settings::Instance(); - if (programSettings->Contains("analysis.objectiveC.resolveMethodCalls")) - programSettings->Set("analysis.objectiveC.resolveMethodCalls", true, viewRef); + if (programSettings->Contains("corePlugins.workflows.objc")) + { + if (programSettings->Get<bool>("corePlugins.workflows.objc")) + { + programSettings->Set("analysis.workflows.functionWorkflow", "core.function.objectiveC", viewRef); + } + } } if (viewRef->GetSectionByName("__cfstring")) { |
