From 5b86b891ca460010cf2fa56805c141872eef3412 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Tue, 12 Nov 2024 15:30:33 -0500 Subject: WARP: Run `cargo fmt` --- plugins/warp/src/plugin/create.rs | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'plugins/warp/src/plugin') 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( -- cgit v1.3.1