mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-13 02:28:09 +00:00
general maintance
This commit is contained in:
@ -4231,7 +4231,6 @@ pacemaker_fuzzing:
|
||||
|
||||
#define core_fuzzing(a) common_fuzzing((a), MOpt_globals_core)
|
||||
|
||||
|
||||
void pso_updating(void) {
|
||||
|
||||
g_now += 1;
|
||||
@ -4314,17 +4313,25 @@ u8 fuzz_one(char** argv) {
|
||||
|
||||
#ifdef _AFL_DOCUMENT_MUTATIONS
|
||||
if (do_document == 0) {
|
||||
char *fn = alloc_printf("%s/mutations", out_dir);
|
||||
|
||||
char* fn = alloc_printf("%s/mutations", out_dir);
|
||||
if (fn) {
|
||||
do_document = mkdir(fn, 0700); // if it exists we do not care
|
||||
|
||||
do_document = mkdir(fn, 0700); // if it exists we do not care
|
||||
do_document = 1;
|
||||
ck_free(fn);
|
||||
|
||||
} else
|
||||
|
||||
PFATAL("malloc()");
|
||||
|
||||
} else {
|
||||
|
||||
do_document = 2;
|
||||
stop_soon = 2;
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
if (limit_time_sig == 0) {
|
||||
|
Reference in New Issue
Block a user