From f9ff195350d6dc0bf19627cf1f19e36b20890a31 Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Thu, 24 Oct 2024 19:17:11 -0400 Subject: Make WARP function guid generation infallible --- plugins/warp/src/bin/sigem.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/warp/src/bin') diff --git a/plugins/warp/src/bin/sigem.rs b/plugins/warp/src/bin/sigem.rs index f0551ccc..3eaef0b1 100644 --- a/plugins/warp/src/bin/sigem.rs +++ b/plugins/warp/src/bin/sigem.rs @@ -78,7 +78,7 @@ fn data_from_view(view: &BinaryView) -> Data { .filter(|f| !f.symbol().short_name().as_str().contains("sub_") || f.has_user_annotations()) .filter_map(|f| { let llil = f.low_level_il().ok()?; - warp_ninja::cache::cached_function(&f, &llil) + Some(warp_ninja::cache::cached_function(&f, &llil)) }) .collect::>(); -- cgit v1.3.1