From 393c7fb508b465b0cb096d46eaaefc08030e9fed Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Mon, 4 Nov 2024 01:39:55 -0500 Subject: WARP: Fix analysis updates not being correctly marked We are running at the end of analysis now so we must invoke reanalysis --- plugins/warp/src/matcher.rs | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'plugins/warp/src/matcher.rs') diff --git a/plugins/warp/src/matcher.rs b/plugins/warp/src/matcher.rs index 59a26fcf..823ac2aa 100644 --- a/plugins/warp/src/matcher.rs +++ b/plugins/warp/src/matcher.rs @@ -1,7 +1,7 @@ use binaryninja::architecture::Architecture as BNArchitecture; use binaryninja::backgroundtask::BackgroundTask; use binaryninja::binaryview::{BinaryView, BinaryViewExt}; -use binaryninja::function::{Function as BNFunction, FunctionUpdateType}; +use binaryninja::function::Function as BNFunction; use binaryninja::platform::Platform; use binaryninja::rc::Guard; use binaryninja::rc::Ref as BNRef; @@ -239,9 +239,6 @@ impl Matcher { self.add_type_to_view(&view, &arch, &in_member.ty); } } - // Also mark this for updates. - // TODO: Does this do anything? - function.mark_updates_required(FunctionUpdateType::UserFunctionUpdate); }; if let Some(matched_function) = cached_function_match(function, || { -- cgit v1.3.1