disable trimming for -M
MODIFY
README.md
README.md
@@ -55,6 +55,7 @@ behaviours and defaults:
* a caching of testcases can now be performed and can be modified by
editing config.h for TESTCASE_CACHE or by specifying the env variable
`AFL_TESTCACHE_SIZE` (in MB). Good values are between 50-500 (default: 50).
+ * -M mains do not perform trimming
* examples/ got renamed to utils/
* libtokencap/ libdislocator/ and qdbi_mode/ were moved to utils/
* afl-cmin/afl-cmin.bash now search first in PATH and last in AFL_PATH

MODIFY
docs/ideas.md
docs/ideas.md
@@ -16,6 +16,8 @@ test cases executed.
It should be clickable which value is X and Y axis, zoom factor, log scaling
on-off, etc.
+Mentor: vanhauser-thc
+
## WASM Instrumentation
Currently, AFL++ can be used for source code fuzzing and traditional binaries.
@@ -36,19 +38,6 @@ Either improve a single mutator thorugh learning of many different bugs
Mentor: domenukk
-## Collision-free Binary-Only Maps
-
-AFL++ supports collison-free maps using an LTO (link-time-optimization) pass.
-This should be possible to implement for QEMU and Unicorn instrumentations.
-As the forkserver parent caches just in time translated translation blocks,
-adding a simple counter between jumps should be doable.
-
-Note: this is already in development for qemu by Andrea, so for people who
-want to contribute it might make more sense to port his solution to unicorn.
-
-Mentor: andreafioraldi or domenukk
-Issue/idea tracker: [https://github.com/AFLplusplus/AFLplusplus/issues/237](https://github.com/AFLplusplus/AFLplusplus/issues/237)
-
## Your idea!
Finally, we are open to proposals!

MODIFY
src/afl-fuzz.c
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, ':'))) {

disable trimming for -M