From 058f8e1de863eb4694bf57baac402aff0a305868 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Wed, 11 Dec 2024 16:30:28 -0500 Subject: WARP: Add ability to save single function to file This command will update or create a signature file with the selected function --- plugins/warp/src/plugin.rs | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'plugins/warp/src/plugin.rs') diff --git a/plugins/warp/src/plugin.rs b/plugins/warp/src/plugin.rs index 8500a016..224887ef 100644 --- a/plugins/warp/src/plugin.rs +++ b/plugins/warp/src/plugin.rs @@ -17,6 +17,7 @@ use log::LevelFilter; use warp::signature::function::constraints::FunctionConstraint; use warp::signature::function::Function as WarpFunction; +mod add; mod copy; mod create; mod find; @@ -245,5 +246,11 @@ pub extern "C" fn CorePluginInit() -> bool { create::CreateSignatureFile {}, ); + binaryninja::command::register_for_function( + "WARP\\Add Function Signature to File", + "Stores the signature for the function in the signature file", + add::AddFunctionSignature {}, + ); + true } -- cgit v1.3.1