summaryrefslogtreecommitdiff
path: root/plugins/warp/src/plugin
diff options
context:
space:
mode:
authorMason Reed <mason@vector35.com>2025-07-04 00:30:38 -0400
committerMason Reed <mason@vector35.com>2025-07-04 00:30:38 -0400
commit9175a5f40d4a0b9d75e90f9bf77260d8a8eb3387 (patch)
treec21620ad947885e442ad49084274cd6107c204ff /plugins/warp/src/plugin
parentcaeb021b2b2b18a72422bed18f72fcdfd7da8e2f (diff)
[WARP] Remove warning about missing sections for Raw view
Diffstat (limited to 'plugins/warp/src/plugin')
-rw-r--r--plugins/warp/src/plugin/workflow.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/warp/src/plugin/workflow.rs b/plugins/warp/src/plugin/workflow.rs
index 1a0cd2dd..c83ae809 100644
--- a/plugins/warp/src/plugin/workflow.rs
+++ b/plugins/warp/src/plugin/workflow.rs
@@ -70,7 +70,7 @@ impl Command for RunMatcher {
pub fn run_matcher(view: &BinaryView) {
// Alert the user if we have no actual regions (one comes from the synthetic section).
let regions = relocatable_regions(view);
- if regions.len() <= 1 {
+ if regions.len() <= 1 && view.memory_map().is_activated() {
log::warn!(
"No relocatable regions found, for best results please define sections for the binary!"
);