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/tests/determinism.rs | 4 ++-- plugins/warp/tests/matcher.rs | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins/warp/tests') diff --git a/plugins/warp/tests/determinism.rs b/plugins/warp/tests/determinism.rs index e0568794..5100b436 100644 --- a/plugins/warp/tests/determinism.rs +++ b/plugins/warp/tests/determinism.rs @@ -32,8 +32,8 @@ fn insta_signatures() { .functions() .iter() .map(|f| { - let guid = cached_function_guid(&f, &f.lifted_il().unwrap()); - (f.start(), guid) + let guid = cached_function_guid(&f, || f.lifted_il().ok()); + (f.start(), guid.unwrap()) }) .collect(); insta::assert_debug_snapshot!(file_name, functions); diff --git a/plugins/warp/tests/matcher.rs b/plugins/warp/tests/matcher.rs index 13e2ce01..880112d0 100644 --- a/plugins/warp/tests/matcher.rs +++ b/plugins/warp/tests/matcher.rs @@ -169,7 +169,7 @@ fn test_add_type_to_view() { .guid(struct_type_guid) .build(); let ref_type = Type::builder().name("my_ref").class(ref_class).build(); - matcher.add_type_to_view(&container, &source, &view, &arch, &ref_type); + matcher.add_type_to_view(&container, &source, &view, arch, &ref_type); println!("{:#?}", view.types().to_vec()); -- cgit v1.3.1