From 69a596c0898e3ae295c4f606857ed2ca6d8d0605 Mon Sep 17 00:00:00 2001 From: vanhauser-thc Date: Sun, 14 Jul 2024 10:20:53 +0200 Subject: ensure this does not happen again --- src/afl-common.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/afl-common.c b/src/afl-common.c index efdb5d60..04a984cb 100644 --- a/src/afl-common.c +++ b/src/afl-common.c @@ -979,6 +979,7 @@ inline u64 get_cur_time(void) { struct timeval tv; struct timezone tz; + // TO NOT REPLACE WITH clock_gettime!!! gettimeofday(&tv, &tz); return (tv.tv_sec * 1000ULL) + (tv.tv_usec / 1000); @@ -992,6 +993,7 @@ inline u64 get_cur_time_us(void) { struct timeval tv; struct timezone tz; + // TO NOT REPLACE WITH clock_gettime!!! gettimeofday(&tv, &tz); return (tv.tv_sec * 1000000ULL) + tv.tv_usec; -- cgit 1.4.1