diff options
| author | Mason Reed <mason@vector35.com> | 2024-11-12 15:30:33 -0500 |
|---|---|---|
| committer | Mason Reed <mason@vector35.com> | 2024-11-12 15:30:33 -0500 |
| commit | 5b86b891ca460010cf2fa56805c141872eef3412 (patch) | |
| tree | 5af99dc6b2e69a28653665c2a1fb89521c947eaf /plugins/warp/src/plugin | |
| parent | c4badcf63381688fa2875cd0afcb6bc45f5cf3ec (diff) | |
WARP: Run `cargo fmt`
Diffstat (limited to 'plugins/warp/src/plugin')
| -rw-r--r-- | plugins/warp/src/plugin/create.rs | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/plugins/warp/src/plugin/create.rs b/plugins/warp/src/plugin/create.rs index 0792e6dc..dd21bd8f 100644 --- a/plugins/warp/src/plugin/create.rs +++ b/plugins/warp/src/plugin/create.rs @@ -1,5 +1,4 @@ use crate::cache::{cached_function, cached_type_references}; -use crate::convert::from_bn_type; use crate::matcher::invalidate_function_matcher_cache; use binaryninja::binaryview::{BinaryView, BinaryViewExt}; use binaryninja::command::Command; @@ -7,7 +6,6 @@ use rayon::prelude::*; use std::io::Write; use std::thread; use std::time::Instant; -use warp::r#type::ComputedType; pub struct CreateSignatureFile; @@ -36,7 +34,7 @@ impl Command for CreateSignatureFile { let llil = func.low_level_il().ok()?; Some(cached_function(&func, &llil)) })); - + if let Some(ref_ty_cache) = cached_type_references(&view) { let referenced_types = ref_ty_cache .cache @@ -46,7 +44,7 @@ impl Command for CreateSignatureFile { data.types.extend(referenced_types); } - + log::info!("Signature generation took {:?}", start.elapsed()); if let Some(sig_file_name) = binaryninja::interaction::get_text_line_input( |
