summaryrefslogtreecommitdiff
path: root/plugins/warp/src/plugin
diff options
context:
space:
mode:
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!"
);