From ede39aee7e00c40a43b67ca18dd8ab80ee863d85 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Tue, 26 Aug 2025 23:59:38 -0400 Subject: [WARP] Enhanced network support --- plugins/warp/src/matcher.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/warp/src/matcher.rs') diff --git a/plugins/warp/src/matcher.rs b/plugins/warp/src/matcher.rs index 52a5b04f..d97b4a18 100644 --- a/plugins/warp/src/matcher.rs +++ b/plugins/warp/src/matcher.rs @@ -100,21 +100,21 @@ impl Matcher { // TODO: I would really like for WARP types to be added in a seperate type container, so that we don't // TODO: just add them as system or user types. - pub fn add_type_to_view( + pub fn add_type_to_view( &self, container: &dyn Container, source: &SourceId, view: &BinaryView, - arch: &A, + arch: A, ty: &Type, ) where Self: Sized, { - fn inner_add_type_to_view( + fn inner_add_type_to_view( container: &dyn Container, source: &SourceId, view: &BinaryView, - arch: &A, + arch: A, visited_refs: &mut HashSet, ty: &Type, ) { @@ -251,7 +251,7 @@ impl Matcher { view.define_auto_type_with_id( name, &guid.to_string(), - &to_bn_type(arch, &ref_ty), + &to_bn_type(Some(arch), &ref_ty), ); } (Some(_guid), Some(_name), None) => { -- cgit v1.3.1