From 8f3e251c42169fb4fe8db9403d900571434d88ff Mon Sep 17 00:00:00 2001 From: Mason Reed Date: Sun, 6 Jul 2025 17:14:29 -0400 Subject: [WARP] Fix tag type creation marking the view as modified --- plugins/warp/src/plugin/workflow.rs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'plugins/warp/src/plugin') diff --git a/plugins/warp/src/plugin/workflow.rs b/plugins/warp/src/plugin/workflow.rs index db95b567..2d76222c 100644 --- a/plugins/warp/src/plugin/workflow.rs +++ b/plugins/warp/src/plugin/workflow.rs @@ -71,7 +71,9 @@ impl Command for RunMatcher { pub fn run_matcher(view: &BinaryView) { // TODO: Create the tag type so we dont have UB in the apply function workflow. + let undo_id = view.file().begin_undo_actions(false); let _ = get_warp_tag_type(view); + view.file().forget_undo_actions(&undo_id); // Alert the user if we have no actual regions (one comes from the synthetic section). let regions = relocatable_regions(view); -- cgit v1.3.1