mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 02:28:09 +00:00
add -z switch
This commit is contained in:
@ -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;
|
||||
|
Reference in New Issue
Block a user