general maintance

This commit is contained in:
van Hauser
2019-10-04 10:33:28 +02:00
parent 9af6395e92
commit 9c105098dd
12 changed files with 279 additions and 156 deletions

View File

@ -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) {