about summary refs log tree commit diff
path: root/src/afl-fuzz.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/afl-fuzz.c')
-rw-r--r--src/afl-fuzz.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c
index f659395e..cf57702f 100644
--- a/src/afl-fuzz.c
+++ b/src/afl-fuzz.c
@@ -536,6 +536,10 @@ int main(int argc, char **argv_orig, char **envp) {
 
           afl->input_mode = 2;
 
+        } else if (!stricmp(optarg, "def") || !stricmp(optarg, "default")) {
+
+          afl->input_mode = 0;
+
         } else {
 
           FATAL("-a input mode needs to be \"text\" or \"binary\".");