summaryrefslogtreecommitdiff
path: root/plugins/workflow_swift/src/lib.rs
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/workflow_swift/src/lib.rs')
-rw-r--r--plugins/workflow_swift/src/lib.rs16
1 files changed, 16 insertions, 0 deletions
diff --git a/plugins/workflow_swift/src/lib.rs b/plugins/workflow_swift/src/lib.rs
new file mode 100644
index 00000000..b8ddb7a4
--- /dev/null
+++ b/plugins/workflow_swift/src/lib.rs
@@ -0,0 +1,16 @@
+use binaryninja::add_optional_plugin_dependency;
+
+#[no_mangle]
+#[allow(non_snake_case)]
+pub extern "C" fn CorePluginDependencies() {
+ add_optional_plugin_dependency("arch_x86");
+ add_optional_plugin_dependency("arch_arm64");
+}
+
+#[no_mangle]
+#[allow(non_snake_case)]
+pub extern "C" fn CorePluginInit() -> bool {
+ binaryninja::tracing_init!("Plugin.Swift");
+
+ true
+}