mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-14 11:08:06 +00:00
update new feature config
This commit is contained in:
@ -47,7 +47,7 @@
|
|||||||
switches to exploitation mode. It automatically switches back when new
|
switches to exploitation mode. It automatically switches back when new
|
||||||
coverage is found.
|
coverage is found.
|
||||||
Default: 300 (seconds) */
|
Default: 300 (seconds) */
|
||||||
#define STRATEGY_SWITCH_TIME 300
|
#define STRATEGY_SWITCH_TIME 600
|
||||||
|
|
||||||
/* Default file permission umode when creating files (default: 0600) */
|
/* Default file permission umode when creating files (default: 0600) */
|
||||||
#define DEFAULT_PERMISSION 0600
|
#define DEFAULT_PERMISSION 0600
|
||||||
|
@ -48,11 +48,11 @@ char *get_fuzzing_state(afl_state_t *afl) {
|
|||||||
u64 percent_cur = last_find_100 / cur_run_time;
|
u64 percent_cur = last_find_100 / cur_run_time;
|
||||||
u64 percent_total = last_find_100 / cur_total_run_time;
|
u64 percent_total = last_find_100 / cur_total_run_time;
|
||||||
|
|
||||||
if (unlikely(percent_cur >= 90 && percent_total >= 90)) {
|
if (unlikely(percent_cur >= 80 && percent_total >= 80)) {
|
||||||
|
|
||||||
return fuzzing_state[3];
|
return fuzzing_state[3];
|
||||||
|
|
||||||
} else if (unlikely(percent_cur >= 75 && percent_total >= 75)) {
|
} else if (unlikely(percent_cur >= 55 && percent_total >= 55)) {
|
||||||
|
|
||||||
return fuzzing_state[2];
|
return fuzzing_state[2];
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user