From 3169983a558d5cbc3632cbc549e2f379c3b0b7cb Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Wed, 23 Jul 2025 13:26:05 -0400 Subject: [WARP] Generate function guids for mach-o objective-c binaries Previously we only added the warp function activities to the meta workflow, however objective-c plugin currently registers its own workflow that we must add the activities to as well. Fixes https://github.com/Vector35/binaryninja-api/issues/7172 --- plugins/warp/src/plugin.rs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'plugins/warp/src/plugin.rs') diff --git a/plugins/warp/src/plugin.rs b/plugins/warp/src/plugin.rs index 7f0481b8..3306801d 100644 --- a/plugins/warp/src/plugin.rs +++ b/plugins/warp/src/plugin.rs @@ -12,9 +12,9 @@ use binaryninja::background_task::BackgroundTask; use binaryninja::command::{ register_command, register_command_for_function, register_command_for_project, }; -use binaryninja::is_ui_enabled; use binaryninja::logger::Logger; use binaryninja::settings::Settings; +use binaryninja::{add_optional_plugin_dependency, is_ui_enabled}; use log::LevelFilter; use reqwest::StatusCode; @@ -197,3 +197,9 @@ pub extern "C" fn CorePluginInit() -> bool { true } + +#[unsafe(no_mangle)] +pub extern "C" fn CorePluginDependencies() { + // TODO: Remove this once the objectivec workflow is registered on the meta workflow. + add_optional_plugin_dependency("workflow_objc"); +} -- cgit v1.3.1