summaryrefslogtreecommitdiff
path: root/plugins/bntl_utils/src/lib.rs
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2026-02-22 22:42:35 -0800
committerMason Reed <35282038+emesare@users.noreply.github.com>2026-02-23 00:09:44 -0800
commitd0eec62d6df0edbbb76dfeac58879797e90a8594 (patch)
tree03cf8d04eb7d33ac0785f2eede92ecbd552a48b0 /plugins/bntl_utils/src/lib.rs
parentf3e0bf4ab35d50b11b2dbde41a699ab7497208d1 (diff)
Add global plugin command type
Register plugins which are available outside the context of a binary view
Diffstat (limited to 'plugins/bntl_utils/src/lib.rs')
-rw-r--r--plugins/bntl_utils/src/lib.rs8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/bntl_utils/src/lib.rs b/plugins/bntl_utils/src/lib.rs
index aad6cdcf..fb96746a 100644
--- a/plugins/bntl_utils/src/lib.rs
+++ b/plugins/bntl_utils/src/lib.rs
@@ -35,25 +35,25 @@ fn plugin_init() -> Result<(), ()> {
command::create::CreateFromProject {},
);
- binaryninja::command::register_command(
+ binaryninja::command::register_global_command(
"BNTL\\Create\\From Directory",
"Create .bntl files from the given directory",
command::create::CreateFromDirectory {},
);
- binaryninja::command::register_command(
+ binaryninja::command::register_global_command(
"BNTL\\Diff",
"Diff two .bntl files and output the difference to a file",
command::diff::Diff {},
);
- binaryninja::command::register_command(
+ binaryninja::command::register_global_command(
"BNTL\\Dump To Header",
"Dump a .bntl file to a header file",
command::dump::Dump {},
);
- binaryninja::command::register_command(
+ binaryninja::command::register_global_command(
"BNTL\\Validate",
"Validate a .bntl file and report the issues",
command::validate::Validate {},