From 37008b7fa16837d04c1658868646cad681cbe035 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Wed, 11 Feb 2026 18:04:07 -0800 Subject: Add BNTL utility plugin Allow users to easily create, diff, dump and validate type libraries Supports the following formats: - C header files (via core type parsers) - Binary files (collects exported and imported functions) - WinMD files (via `windows-metadata` crate) - Existing type library files (for easy fixups) - Apiset files (to resolve through forwarded windows dlls) Can be invoked as a regular plugin via UI commands or via CLI. Processing of type libraries inherently requires external linking, processing will automatically merge and deduplicate colliding type libraries so prefer to use inside a project or a directory and process all information (for a given platform) at once, rather than smaller invocations. --- plugins/bntl_utils/cli/Cargo.toml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 plugins/bntl_utils/cli/Cargo.toml (limited to 'plugins/bntl_utils/cli/Cargo.toml') diff --git a/plugins/bntl_utils/cli/Cargo.toml b/plugins/bntl_utils/cli/Cargo.toml new file mode 100644 index 00000000..863b950d --- /dev/null +++ b/plugins/bntl_utils/cli/Cargo.toml @@ -0,0 +1,15 @@ +[package] +name = "bntl_cli" +version = "0.1.0" +edition = "2024" + +[dependencies] +binaryninja.workspace = true +binaryninjacore-sys.workspace = true +bntl_utils = { path = "../" } +tracing = "0.1" +tracing-subscriber = { version = "0.3", features = ["env-filter"] } +clap = { version = "4.5.58", features = ["derive"] } +rayon = "1.11" +serde_json = "1.0" +thiserror = "2.0" \ No newline at end of file -- cgit v1.3.1