From e83310d8a2b1bb6418d041c8e48aad4ae2a8ae81 Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Wed, 5 Jul 2017 16:23:30 +0200 Subject: pkg/csource: make all usleeps random We can't know the exact values of those sleeps in advance, they can be different for different bugs. Making them random increases the chance that the C repro executes with the right timings at some point. --- pkg/csource/common.go | 2 -- 1 file changed, 2 deletions(-) (limited to 'pkg/csource/common.go') diff --git a/pkg/csource/common.go b/pkg/csource/common.go index 90b1943fc..a2fcd6897 100644 --- a/pkg/csource/common.go +++ b/pkg/csource/common.go @@ -14,8 +14,6 @@ var commonHeader = ` #include #if defined(SYZ_EXECUTOR) || defined(SYZ_THREADED) || defined(SYZ_COLLIDE) #include -#endif -#if defined(SYZ_EXECUTOR) || defined(SYZ_COLLIDE) #include #endif #if defined(SYZ_EXECUTOR) || defined(SYZ_HANDLE_SEGV) -- cgit mrf-deployment