aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/csource
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-06-21 11:03:53 +0200
committerDmitry Vyukov <dvyukov@google.com>2018-06-22 16:40:45 +0200
commitc31f96a8c65c0757078ea77218905c73fc1068d4 (patch)
treefc68a43058ed05e9604514c67240f6a4fa0b25ed /pkg/csource
parent14e6c472f54ac36d5bdfe451371c619953eb0a17 (diff)
executor: rework fallback coverage
We have fallback coverage implmentation for freebsd. 1. It's broken after some recent changes. 2. We need it for fuchsia, windows, akaros, linux too. 3. It's painful to work with C code. Move fallback coverage to ipc package, fix it and provide for all OSes.
Diffstat (limited to 'pkg/csource')
-rw-r--r--pkg/csource/linux_common.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkg/csource/linux_common.go b/pkg/csource/linux_common.go
index 8f293204f..d8dae4b22 100644
--- a/pkg/csource/linux_common.go
+++ b/pkg/csource/linux_common.go
@@ -2963,7 +2963,7 @@ extern unsigned long long procid;
#if defined(SYZ_EXECUTOR)
void reply_handshake();
-void receive_execute(bool need_prog);
+void receive_execute();
void reply_execute(int status);
extern uint32* output_data;
extern uint32* output_pos;
@@ -3027,7 +3027,7 @@ static void loop()
}
#endif
#if defined(SYZ_EXECUTOR)
- receive_execute(false);
+ receive_execute();
#endif
int pid = fork();
if (pid < 0)