mirror of
https://github.com/AFLplusplus/AFLplusplus.git
synced 2025-06-20 21:25:43 +00:00
Convert from microseconds (us) to milliseconds (ms)
This commit is contained in:
@ -2493,8 +2493,8 @@ int main(int argc, char **argv_orig, char **envp) {
|
||||
|
||||
for (entry = 0; entry < afl->queued_items; ++entry)
|
||||
if (!afl->queue_buf[entry]->disabled)
|
||||
if (afl->queue_buf[entry]->exec_us > max_ms)
|
||||
max_ms = afl->queue_buf[entry]->exec_us;
|
||||
if ((afl->queue_buf[entry]->exec_us/1000) > max_ms)
|
||||
max_ms = afl->queue_buf[entry]->exec_us/1000;
|
||||
|
||||
afl->fsrv.exec_tmout = max_ms;
|
||||
afl->timeout_given = 1;
|
||||
|
Reference in New Issue
Block a user