aboutsummaryrefslogtreecommitdiffstats
path: root/executor/executor_fuchsia.cc
diff options
context:
space:
mode:
Diffstat (limited to 'executor/executor_fuchsia.cc')
-rw-r--r--executor/executor_fuchsia.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/executor/executor_fuchsia.cc b/executor/executor_fuchsia.cc
index bd66762a7..7fad95f4e 100644
--- a/executor/executor_fuchsia.cc
+++ b/executor/executor_fuchsia.cc
@@ -21,6 +21,9 @@ int main(int argc, char** argv)
return 0;
}
+ if (syz_mmap(SYZ_DATA_OFFSET, SYZ_NUM_PAGES * SYZ_PAGE_SIZE) != ZX_OK)
+ fail("mmap of data segment failed");
+
install_segv_handler();
setup_control_pipes();
receive_execute(true);