about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-02-03 21:29:38 +0100
committervan Hauser <vh@thc.org>2020-02-03 21:29:38 +0100
commit026b68c47b3a6196eb8c2fd55b4b37cea4076cce (patch)
treeb7b5dccefbf9f0d078bb1691a6fafea7ab84c781
parent1775c8a6ff333c25390d4db3a0c57fd6c49de42a (diff)
downloadafl++-026b68c47b3a6196eb8c2fd55b4b37cea4076cce.tar.gz
-A/-i not together
-rw-r--r--src/afl-showmap.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/afl-showmap.c b/src/afl-showmap.c
index 0aa5c158..0fb0ffe0 100644
--- a/src/afl-showmap.c
+++ b/src/afl-showmap.c
@@ -892,7 +892,12 @@ int main(int argc, char** argv) {
 
   }
 
-  if (in_dir) at_file = "@@";
+  if (in_dir)  {
+  
+    if (at_file) PFATAL("Options -A and -i are mutually exclusive");
+    at_file = "@@";
+  
+  }
 
   detect_file_args(argv + optind, at_file);