diff options
-rw-r--r-- | afl-fuzz.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/afl-fuzz.c b/afl-fuzz.c index ba8d5e07..83b8ce42 100644 --- a/afl-fuzz.c +++ b/afl-fuzz.c @@ -12053,7 +12053,7 @@ int main(int argc, char** argv) { gettimeofday(&tv, &tz); init_seed = tv.tv_sec ^ tv.tv_usec ^ getpid(); - while ((opt = getopt(argc, argv, "+i:o:f:m:t:T:dnCB:S:M:x:Qe:p:s:V:")) > 0) + while ((opt = getopt(argc, argv, "+i:o:f:m:t:T:dnCB:S:M:x:Qe:p:s:V:L:")) > 0) switch (opt) { @@ -12512,6 +12512,9 @@ int main(int argc, char** argv) { if (stop_soon) goto stop_fuzzing; } + // real start time, we reset, so this works correctly with -V + start_time = get_cur_time(); + while (1) { u8 skipped_fuzz; |