diff options
| author | Mason Reed <mason@vector35.com> | 2024-12-11 16:30:37 -0500 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2024-12-11 16:30:48 -0500 |
| commit | b1e272366e669bcce42972f8240e39d3f19fa2da (patch) | |
| tree | 31611b488045a2ec48602b94d10747e07fc858ad /plugins/warp/src/plugin/add.rs | |
| parent | 058f8e1de863eb4694bf57baac402aff0a305868 (diff) | |
WARP: Run `cargo fmt`
Diffstat (limited to 'plugins/warp/src/plugin/add.rs')
| -rw-r--r-- | plugins/warp/src/plugin/add.rs | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/plugins/warp/src/plugin/add.rs b/plugins/warp/src/plugin/add.rs index 215ef90d..ef4f9f26 100644 --- a/plugins/warp/src/plugin/add.rs +++ b/plugins/warp/src/plugin/add.rs @@ -17,10 +17,12 @@ impl FunctionCommand for AddFunctionSignature { log::error!("Could not get low level IL for function."); return; }; - - let Some(save_file) = - binaryninja::interaction::get_save_filename_input("Use Signature File", "*.sbin", "user.sbin") - else { + + let Some(save_file) = binaryninja::interaction::get_save_filename_input( + "Use Signature File", + "*.sbin", + "user.sbin", + ) else { return; }; @@ -34,7 +36,7 @@ impl FunctionCommand for AddFunctionSignature { }; data = file_data; }; - + // Now add our function to the data. data.functions.push(cached_function(&func, &llil)); |
