aboutsummaryrefslogtreecommitdiffstats
path: root/executor/common_test.h
diff options
context:
space:
mode:
Diffstat (limited to 'executor/common_test.h')
-rw-r--r--executor/common_test.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/executor/common_test.h b/executor/common_test.h
index ebbff1517..9d9adc36f 100644
--- a/executor/common_test.h
+++ b/executor/common_test.h
@@ -36,6 +36,15 @@ static long syz_exit(volatile long status)
}
#endif
+#if SYZ_EXECUTOR || __NR_syz_sleep_ms
+// syz_sleep_ms(ms intptr)
+static long syz_sleep_ms(volatile long ms)
+{
+ sleep_ms(ms);
+ return 0;
+}
+#endif
+
#if SYZ_EXECUTOR || __NR_syz_compare
#include <errno.h>
#include <string.h>