about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2021-01-31 13:03:00 +0100
committervan Hauser <vh@thc.org>2021-01-31 13:03:00 +0100
commit893cd47d9cdbfa44e43d03e7d40a56a0c2ad7936 (patch)
tree05bf5d5751fb3b7021c628980e774c3d0fa67d58 /src
parent9d08f0d098c91e69b5fe41674e4c5d05363af604 (diff)
downloadafl++-893cd47d9cdbfa44e43d03e7d40a56a0c2ad7936.tar.gz
disable trimming for -M
Diffstat (limited to 'src')
-rw-r--r--src/afl-fuzz.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c
index 9d9b0434..647a665e 100644
--- a/src/afl-fuzz.c
+++ b/src/afl-fuzz.c
@@ -145,7 +145,7 @@ 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 +502,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, ':'))) {