diff options
| author | Mark Rowe <mark@vector35.com> | 2025-09-04 14:40:53 -0700 |
|---|---|---|
| committer | Mark Rowe <mark@vector35.com> | 2026-03-23 16:08:45 -0700 |
| commit | a49c29b7aea694e41fb92b100325ce34affb413f (patch) | |
| tree | 6fd2fc21dca5bf6c6191badbf0ec79712d10e045 /plugins/workflow_swift/src/lib.rs | |
| parent | c62a7862a86c7a05732985a7759b66b0035fb356 (diff) | |
[Swift] Initial skeleton of a plug-in for Swift support
Diffstat (limited to 'plugins/workflow_swift/src/lib.rs')
| -rw-r--r-- | plugins/workflow_swift/src/lib.rs | 16 |
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 +} |
