summaryrefslogtreecommitdiff
path: root/plugins/workflow_objc/Workflow.cpp
AgeCommit message (Collapse)Author
2025-08-27Rewrite Obj-C workflow in RustMark Rowe
This is functionally equivalent to the previous workflow_objc, with the following changes: 1. It mutates the `core.function.metaAnalysis` workflow rather than registering a new named workflow. The activities now all check for the presence of the Objective-C metadata added by `ObjCProcessor` to determine whether they should do work, rather than relying on `MachoView` to override the function workflow when Objective-C metadata is present. This fixes https://github.com/Vector35/binaryninja-api/issues/6779. 2. The auto-inlining of `objc_msgSend` selector stub functions is performed in a separate activity from the processing of `objc_msgSend` call sites. The selector stub inlining activity is configured so that it does not run in `DSCView` as the shared cache needs different behavior for stub functions more generally that `SharedCacheWorkflow` already provides. 3. The way that types like `id` and `SEL` are referenced is fixed so that they show up as `id` rather than `objc_struct*`. This also replaces the Objective-C portion of the shared cache's workflow, and incorporates several bug fixes that had been applied to it but not the standalone Objective-C workflow.
2025-08-20Deprecate Workflow::Instance in favor of Workflow::Get and Workflow::GetOrCreateMark Rowe
Calls to `Workflow::Instance` that were looking up a built-in workflow name are updated to use `Workflow::Get`. Others use `Workflow::GetOrCreate`.
2025-07-14Revert "Update Objective-C Workflow to use the meta workflow."Brian Potchik
This reverts commit 5bafe5c7bdb0b56037a0b5c573236f9c6367353a.
2025-07-14Update Objective-C Workflow to use the meta workflow.Brian Potchik
2025-07-13[ObjC] Handle LLIL_TAILCALL instructions when ↵Mark Rowe
analysis.objectiveC.resolveDynamicDispatch is enabled
2025-07-13[ObjC] Handle tail calls to objc_msgSend when applying call type adjustmentsMark Rowe
2025-07-13[ObjC] Fix an off-by-one error that would skip inlining of the first ↵Mark Rowe
objc_msgSend stub
2025-07-02Fix Objective-C dynamic dispatch setting.Brian Potchik
2025-06-23Move workflow_objc to API repo, remove CFString & relptr rendererskat