aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor_linux.h
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2024-06-02 11:58:29 +0200
committerDmitry Vyukov <dvyukov@google.com>2024-06-04 09:50:32 +0000
commit06bf8101debe879447d0ef3a7a5b84cb11fa5acf (patch)
treed36506158005ab053b33b46559d48ba5e54b4a9e /executor/executor_linux.h
parent3f1713c975c911f9ca5d27d0292f7505b176c873 (diff)
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.
Diffstat (limited to 'executor/executor_linux.h')
-rw-r--r--executor/executor_linux.h4
1 files changed, 0 insertions, 4 deletions
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()
{