diff options
author | van Hauser <vh@thc.org> | 2019-07-08 17:12:07 +0200 |
---|---|---|
committer | van Hauser <vh@thc.org> | 2019-07-08 17:12:07 +0200 |
commit | 891ab3951befbf480a89f63702d111a62a054758 (patch) | |
tree | 819cf820eeee2a2abcccd2ec8e99667d793b9b26 /afl-fuzz.c | |
parent | 11251c77ca99988166cdeea04c4df7c6f17a87ad (diff) | |
download | afl++-891ab3951befbf480a89f63702d111a62a054758.tar.gz |
fix
Diffstat (limited to 'afl-fuzz.c')
-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; |