From c31f96a8c65c0757078ea77218905c73fc1068d4 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Thu, 21 Jun 2018 11:03:53 +0200 Subject: 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. --- executor/executor_windows.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'executor/executor_windows.cc') diff --git a/executor/executor_windows.cc b/executor/executor_windows.cc index a9ba5ea63..73477bb4f 100644 --- a/executor/executor_windows.cc +++ b/executor/executor_windows.cc @@ -27,8 +27,7 @@ int main(int argc, char** argv) MEM_COMMIT | MEM_RESERVE, PAGE_EXECUTE_READWRITE) != (void*)SYZ_DATA_OFFSET) fail("mmap of data segment failed"); - setup_control_pipes(); - receive_execute(true); + main_init(); execute_one(); return 0; } @@ -54,7 +53,7 @@ void cover_reset(thread_t* th) { } -uint32 read_cover_size(thread_t* th) +uint32 cover_read_size(thread_t* th) { return 0; } -- cgit mrf-deployment