summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2024-11-04 01:51:31 -0500
committerMason Reed <mason@vector35.com>2024-11-04 01:51:31 -0500
commit1ef7e59d179ce137fa63ddca7351c078e6e66694 (patch)
tree186b83fc1a67f2aed88277da7f2f761c8d79a65a /plugins
parenteb12788c2a58e6a50b8b06753c17ca6f8e7c5e18 (diff)
WARP: Move workflows from `analysis.plugins.warp` to `analysis.warp`
Fixes the weird coalesced setting entry
Diffstat (limited to 'plugins')
-rw-r--r--plugins/warp/src/plugin/workflow.rs12
1 files changed, 6 insertions, 6 deletions
diff --git a/plugins/warp/src/plugin/workflow.rs b/plugins/warp/src/plugin/workflow.rs
index d3c75876..94cfb291 100644
--- a/plugins/warp/src/plugin/workflow.rs
+++ b/plugins/warp/src/plugin/workflow.rs
@@ -2,15 +2,15 @@ use crate::cache::cached_function_guid;
use crate::matcher::cached_function_matcher;
use binaryninja::backgroundtask::BackgroundTask;
use binaryninja::binaryview::{BinaryView, BinaryViewExt};
+use binaryninja::command::Command;
use binaryninja::llil;
use binaryninja::workflow::{Activity, AnalysisContext, Workflow};
use std::time::Instant;
-use binaryninja::command::Command;
-const MATCHER_ACTIVITY_NAME: &str = "analysis.plugins.warp.matcher";
+pub const MATCHER_ACTIVITY_NAME: &str = "analysis.warp.matcher";
// NOTE: runOnce is off because previously matched functions need info applied.
const MATCHER_ACTIVITY_CONFIG: &str = r#"{
- "name": "analysis.plugins.warp.matcher",
+ "name": "analysis.warp.matcher",
"title" : "WARP Matcher",
"description": "This analysis step applies WARP info to matched functions...",
"eligibility": {
@@ -19,9 +19,9 @@ const MATCHER_ACTIVITY_CONFIG: &str = r#"{
}
}"#;
-const GUID_ACTIVITY_NAME: &str = "analysis.plugins.warp.guid";
+pub const GUID_ACTIVITY_NAME: &str = "analysis.warp.guid";
const GUID_ACTIVITY_CONFIG: &str = r#"{
- "name": "analysis.plugins.warp.guid",
+ "name": "analysis.warp.guid",
"title" : "WARP GUID Generator",
"description": "This analysis step generates the GUID for all analyzed functions...",
"eligibility": {
@@ -44,7 +44,7 @@ impl Command for RunMatcher {
.iter()
.for_each(|function| cached_function_matcher(&function));
log::info!("Function matching took {:?}", start.elapsed());
- background_task.finish();
+ background_task.finish();
});
}