From a3773b6922543075750a5b4ed47e79f34e60d800 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Tue, 15 Jul 2025 06:12:37 -0400 Subject: [WARP] Misc improvements - Fix project file filter not blacklisting warp files - Fix project name not being used for default file save name - Prevent adding the same file to the available sources --- plugins/warp/src/plugin/project.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/warp/src/plugin/project.rs') diff --git a/plugins/warp/src/plugin/project.rs b/plugins/warp/src/plugin/project.rs index fc95342c..5047ad0c 100644 --- a/plugins/warp/src/plugin/project.rs +++ b/plugins/warp/src/plugin/project.rs @@ -10,7 +10,7 @@ use binaryninja::project::folder::ProjectFolder; use binaryninja::project::Project; use binaryninja::rc::Ref; use regex::Regex; -use std::path::{Path, PathBuf}; +use std::path::Path; use std::thread; use std::time::Instant; use warp::WarpFile; @@ -186,7 +186,7 @@ impl CreateSignatures { None => Some(warp_filter), }; } - if let Some(filter) = form.file_filter() { + if let Some(filter) = filter { processor = processor.with_file_filter(filter); } -- cgit v1.3.1