summaryrefslogtreecommitdiff
path: root/plugins/warp/src/plugin.rs
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-10-12 22:46:54 -0400
committerMason Reed <mason@vector35.com>2025-10-12 22:50:20 -0400
commit40f7d40e394657575001a8146d8233f1fc4356fd (patch)
treea1dfac7f90bbd284119d0a3e10e205fe2e0303c1 /plugins/warp/src/plugin.rs
parent49558b88ed5dacaac0bdf1946291bc37a4a88cb9 (diff)
[WARP] Improve UX surrounding removal of matched functions
- Adds Python API to remove matched function - Adds command + UI actions to remove matched function - Adds command + UI actions to ignore function in subsequent matches
Diffstat (limited to 'plugins/warp/src/plugin.rs')
-rw-r--r--plugins/warp/src/plugin.rs12
1 files changed, 12 insertions, 0 deletions
diff --git a/plugins/warp/src/plugin.rs b/plugins/warp/src/plugin.rs
index 5746a9bc..c396ebca 100644
--- a/plugins/warp/src/plugin.rs
+++ b/plugins/warp/src/plugin.rs
@@ -216,6 +216,18 @@ pub extern "C" fn CorePluginInit() -> bool {
);
register_command_for_function(
+ "WARP\\Ignore Function",
+ "Add current function to the list of functions to ignore when matching",
+ function::IgnoreFunction {},
+ );
+
+ register_command_for_function(
+ "WARP\\Remove Matched Function",
+ "Remove the current match from the selected function, to prevent matches in future use 'Ignore Function'",
+ function::RemoveFunction {},
+ );
+
+ register_command_for_function(
"WARP\\Copy GUID",
"Copy the computed GUID for the function",
function::CopyFunctionGUID {},