about summary refs log tree commit diff
path: root/src/afl-fuzz.c
diff options
context:
space:
mode:
authoraflpp <aflpp@aflplus.plus>2021-01-31 17:30:17 +0100
committeraflpp <aflpp@aflplus.plus>2021-01-31 17:30:17 +0100
commit459dd8cb0779f72d83e99673e632429d89a4cfa9 (patch)
tree9499bc11c4bab9ecb40d6364d356dea3a752cd10 /src/afl-fuzz.c
parente5116c6d55185177413104cad1232ca64e04b844 (diff)
parent7a861498c27997cd7be01a5650d54cff3b87a02e (diff)
downloadafl++-459dd8cb0779f72d83e99673e632429d89a4cfa9.tar.gz
Merge branch 'dev' of https://github.com/AFLplusplus/AFLplusplus into dev
Diffstat (limited to 'src/afl-fuzz.c')
-rw-r--r--src/afl-fuzz.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c
index 40d42c11..276074a4 100644
--- a/src/afl-fuzz.c
+++ b/src/afl-fuzz.c
@@ -145,7 +145,8 @@ static void usage(u8 *argv0, int more_help) {
 
       "Other stuff:\n"
       "  -M/-S id      - distributed mode (see docs/parallel_fuzzing.md)\n"
-      "                  -M auto-sets -D and -Z (use -d to disable -D)\n"
+      "                  -M auto-sets -D, -Z (use -d to disable -D) and no "
+      "trimming\n"
       "  -F path       - sync to a foreign fuzzer queue directory (requires "
       "-M, can\n"
       "                  be specified up to %u times)\n"
@@ -502,6 +503,7 @@ int main(int argc, char **argv_orig, char **envp) {
         afl->sync_id = ck_strdup(optarg);
         afl->skip_deterministic = 0;  // force deterministic fuzzing
         afl->old_seed_selection = 1;  // force old queue walking seed selection
+        afl->disable_trim = 1;        // disable trimming
 
         if ((c = strchr(afl->sync_id, ':'))) {