diff options
author | vanhauser-thc <vh@thc.org> | 2023-04-05 12:59:20 +0200 |
---|---|---|
committer | vanhauser-thc <vh@thc.org> | 2023-04-05 12:59:20 +0200 |
commit | 36127fb1970746f53fec44f9394061f57a4e94c3 (patch) | |
tree | 74cf2ac1e1ab8a7bb4de662af135634003269803 /src/afl-fuzz.c | |
parent | 5fea071ae99dc68d634afd996fcd280f57f78002 (diff) | |
download | afl++-36127fb1970746f53fec44f9394061f57a4e94c3.tar.gz |
add -z switch
Diffstat (limited to 'src/afl-fuzz.c')
-rw-r--r-- | src/afl-fuzz.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c index 3380fd90..0f01360e 100644 --- a/src/afl-fuzz.c +++ b/src/afl-fuzz.c @@ -132,6 +132,7 @@ static void usage(u8 *argv0, int more_help) { " fast(default), explore, exploit, seek, rare, mmopt, " "coe, lin\n" " quad -- see docs/FAQ.md for more information\n" + " -z - prefer new coverage findings when fuzzing\n" " -f file - location read by the fuzzed program (default: stdin " "or @@)\n" " -t msec - timeout for each run (auto-scaled, default %u ms). " @@ -569,6 +570,10 @@ int main(int argc, char **argv_orig, char **envp) { afl->max_length = atoi(optarg); break; + case 'z': + afl->prefer_new = 1; + break; + case 'Z': afl->old_seed_selection = 1; break; |