diff options
| author | Mason Reed <mason@vector35.com> | 2024-12-11 16:30:28 -0500 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2024-12-11 16:30:28 -0500 |
| commit | 058f8e1de863eb4694bf57baac402aff0a305868 (patch) | |
| tree | e5503ad941123de8e17822e23c2e019cb487e415 /plugins/warp/src/plugin.rs | |
| parent | f5769c8705bd1b6cd5879ccbddabf4aca7de95a6 (diff) | |
WARP: Add ability to save single function to file
This command will update or create a signature file with the selected function
Diffstat (limited to 'plugins/warp/src/plugin.rs')
| -rw-r--r-- | plugins/warp/src/plugin.rs | 7 |
1 files changed, 7 insertions, 0 deletions
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 } |
