about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2024-07-14 10:20:53 +0200
committervanhauser-thc <vh@thc.org>2024-07-14 10:20:53 +0200
commit69a596c0898e3ae295c4f606857ed2ca6d8d0605 (patch)
tree72087e6b023d20dde848ebfc5b5985377d320327 /src
parentccb952dde8dbf2165a0d84308e558cd68679fb13 (diff)
downloadafl++-69a596c0898e3ae295c4f606857ed2ca6d8d0605.tar.gz
ensure this does not happen again
Diffstat (limited to 'src')
-rw-r--r--src/afl-common.c2
1 files changed, 2 insertions, 0 deletions
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;