summaryrefslogtreecommitdiff
path: root/plugins/warp/src/matcher.rs
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2024-11-04 01:39:55 -0500
committerMason Reed <mason@vector35.com>2024-11-04 01:39:55 -0500
commit393c7fb508b465b0cb096d46eaaefc08030e9fed (patch)
tree1b3e3c3c47af1172707366f423c6f7e21da8d6a5 /plugins/warp/src/matcher.rs
parente6a0cb470745e09721f28ba2ad62f5ea71d63599 (diff)
WARP: Fix analysis updates not being correctly marked
We are running at the end of analysis now so we must invoke reanalysis
Diffstat (limited to 'plugins/warp/src/matcher.rs')
-rw-r--r--plugins/warp/src/matcher.rs5
1 files changed, 1 insertions, 4 deletions
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, || {