From d0eec62d6df0edbbb76dfeac58879797e90a8594 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Sun, 22 Feb 2026 22:42:35 -0800 Subject: Add global plugin command type Register plugins which are available outside the context of a binary view --- plugins/bntl_utils/src/lib.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'plugins/bntl_utils/src/lib.rs') 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 {}, -- cgit v1.3.1