mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 19:08:08 +00:00
-p seek is now the default
This commit is contained in:
@ -21,6 +21,9 @@ sending a mail to <afl-users+subscribe@googlegroups.com>.
|
|||||||
supported size
|
supported size
|
||||||
- longer seeds with the same trace information will now be ignored
|
- longer seeds with the same trace information will now be ignored
|
||||||
for fuzzing but still be used for splicing
|
for fuzzing but still be used for splicing
|
||||||
|
- crashing seeds are now not prohibiting a run anymore but are
|
||||||
|
skipped. They are used for splicing though.
|
||||||
|
- set the default power schedule to the superiour "seek" schedule
|
||||||
- instrumentation
|
- instrumentation
|
||||||
- not overriding -Ox or -fno-unroll-loops anymore
|
- not overriding -Ox or -fno-unroll-loops anymore
|
||||||
- new llvm pass: dict2file via AFL_LLVM_DICT2FILE, create afl-fuzz
|
- new llvm pass: dict2file via AFL_LLVM_DICT2FILE, create afl-fuzz
|
||||||
|
@ -87,7 +87,7 @@ void afl_state_init(afl_state_t *afl, uint32_t map_size) {
|
|||||||
afl->w_end = 0.3;
|
afl->w_end = 0.3;
|
||||||
afl->g_max = 5000;
|
afl->g_max = 5000;
|
||||||
afl->period_pilot_tmp = 5000.0;
|
afl->period_pilot_tmp = 5000.0;
|
||||||
afl->schedule = EXPLORE; /* Power schedule (default: EXPLORE)*/
|
afl->schedule = SEEK; /* Power schedule (default: SEEK) */
|
||||||
afl->havoc_max_mult = HAVOC_MAX_MULT;
|
afl->havoc_max_mult = HAVOC_MAX_MULT;
|
||||||
|
|
||||||
afl->clear_screen = 1; /* Window resized? */
|
afl->clear_screen = 1; /* Window resized? */
|
||||||
|
@ -89,11 +89,10 @@ static void usage(u8 *argv0, int more_help) {
|
|||||||
" -o dir - output directory for fuzzer findings\n\n"
|
" -o dir - output directory for fuzzer findings\n\n"
|
||||||
|
|
||||||
"Execution control settings:\n"
|
"Execution control settings:\n"
|
||||||
" -p schedule - power schedules compute a seed's performance score. "
|
" -p schedule - power schedules compute a seed's performance score:\n"
|
||||||
"<explore\n"
|
" <seek (default), explore, rare, exploit, mmopt, coe, "
|
||||||
" (default), fast, coe, lin, quad, exploit, mmopt, "
|
"fast,\n"
|
||||||
"rare, seek>\n"
|
" lin, quad> -- see docs/power_schedules.md\n"
|
||||||
" see docs/power_schedules.md\n"
|
|
||||||
" -f file - location read by the fuzzed program (default: stdin "
|
" -f file - location read by the fuzzed program (default: stdin "
|
||||||
"or @@)\n"
|
"or @@)\n"
|
||||||
" -t msec - timeout for each run (auto-scaled, 50-%d ms)\n"
|
" -t msec - timeout for each run (auto-scaled, 50-%d ms)\n"
|
||||||
@ -349,16 +348,16 @@ int main(int argc, char **argv_orig, char **envp) {
|
|||||||
|
|
||||||
afl->schedule = RARE;
|
afl->schedule = RARE;
|
||||||
|
|
||||||
} else if (!stricmp(optarg, "seek")) {
|
} else if (!stricmp(optarg, "explore") || !stricmp(optarg, "afl")) {
|
||||||
|
|
||||||
afl->schedule = SEEK;
|
|
||||||
|
|
||||||
} else if (!stricmp(optarg, "explore") || !stricmp(optarg, "default") ||
|
|
||||||
|
|
||||||
!stricmp(optarg, "normal") || !stricmp(optarg, "afl")) {
|
|
||||||
|
|
||||||
afl->schedule = EXPLORE;
|
afl->schedule = EXPLORE;
|
||||||
|
|
||||||
|
} else if (!stricmp(optarg, "seek") || !stricmp(optarg, "default") ||
|
||||||
|
|
||||||
|
!stricmp(optarg, "normal")) {
|
||||||
|
|
||||||
|
afl->schedule = SEEK;
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
|
||||||
FATAL("Unknown -p power schedule");
|
FATAL("Unknown -p power schedule");
|
||||||
|
Reference in New Issue
Block a user