diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-04-15 10:37:30 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-04-15 10:19:39 +0000 |
| commit | c6f10907c38ce49ddc321539f75aabf0a9ad6c71 (patch) | |
| tree | 1277a1d64e2201b58b550ef0131222eaab9fcf73 /executor/executor.cc | |
| parent | 33fec5a3ec55bce7f1664e70e6f5ff8daf56886d (diff) | |
all: remove akaros support
Akaros support is unused, it was shutdown on syzbot for a while,
the akaros development seems to be frozen for years as well.
We have a bunch of hacks for Akaros since it supported
only super old gcc and haven't supported Go. Remove it.
Diffstat (limited to 'executor/executor.cc')
| -rw-r--r-- | executor/executor.cc | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/executor/executor.cc b/executor/executor.cc index 8b58287b1..267fac857 100644 --- a/executor/executor.cc +++ b/executor/executor.cc @@ -107,10 +107,6 @@ void debug_dump_data(const char* data, int length); static void receive_execute(); static void reply_execute(int status); -#if GOOS_akaros -static void resend_execute(int fd); -#endif - #if SYZ_EXECUTOR_USES_FORK_SERVER static void receive_handshake(); static void reply_handshake(); @@ -397,8 +393,6 @@ static void setup_features(char** enable, int n); #include "executor_linux.h" #elif GOOS_fuchsia #include "executor_fuchsia.h" -#elif GOOS_akaros -#include "executor_akaros.h" #elif GOOS_freebsd || GOOS_netbsd || GOOS_openbsd #include "executor_bsd.h" #elif GOOS_darwin @@ -712,17 +706,6 @@ bool cover_collection_required() return flag_coverage && (flag_collect_signal || flag_collect_cover || flag_comparisons); } -#if GOOS_akaros -void resend_execute(int fd) -{ - execute_req& req = last_execute_req; - if (write(fd, &req, sizeof(req)) != sizeof(req)) - fail("child pipe header write failed"); - if (write(fd, input_data, req.prog_size) != (ssize_t)req.prog_size) - fail("child pipe program write failed"); -} -#endif - void reply_execute(int status) { execute_reply reply = {}; |
