about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--afl-fuzz.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/afl-fuzz.c b/afl-fuzz.c
index e917ed9c..53840f9a 100644
--- a/afl-fuzz.c
+++ b/afl-fuzz.c
@@ -12261,6 +12261,8 @@ int main(int argc, char** argv) {
     if (qemu_mode)  FATAL("-Q and -n are mutually exclusive");
 
   }
+  
+  if (index(argv[optind], '/') == NULL) WARNF(cLRD "Target binary called without a prefixed path, make sure you are fuzzing the right binary: " cRST "%s", argv[optind]);
 
   OKF("afl++ is maintained by Marc \"van Hauser\" Heuse, Heiko \"hexcoder\" Eissfeldt and Andrea Fioraldi");
   OKF("afl++ is open source, get it at https://github.com/vanhauser-thc/AFLplusplus");