From 06bf8101debe879447d0ef3a7a5b84cb11fa5acf Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Sun, 2 Jun 2024 11:58:29 +0200 Subject: executor: remove noshmem mode All OSes we have now support shmem. Support for Fuchia/Starnix/Windows wasn't implemented, but generally they support shared memory. Remove all of the complexity and code associated with noshmem mode. If/when we revive these OSes, it's easier to properly implement shmem mode for them. --- executor/executor_linux.h | 4 ---- 1 file changed, 4 deletions(-) (limited to 'executor/executor_linux.h') diff --git a/executor/executor_linux.h b/executor/executor_linux.h index 8b37ea598..3956127cd 100644 --- a/executor/executor_linux.h +++ b/executor/executor_linux.h @@ -95,11 +95,9 @@ static void cover_protect(cover_t* cov) { } -#if SYZ_EXECUTOR_USES_SHMEM static void cover_unprotect(cover_t* cov) { } -#endif static void cover_mmap(cover_t* cov) { @@ -174,7 +172,6 @@ static void cover_collect(cover_t* cov) cov->size = *(uint32*)cov->data; } -#if SYZ_EXECUTOR_USES_SHMEM static bool use_cover_edges(uint32 pc) { return true; @@ -195,7 +192,6 @@ static bool use_cover_edges(uint64 pc) #endif return true; } -#endif static bool detect_kernel_bitness() { -- cgit mrf-deployment