summaryrefslogtreecommitdiffstats
path: root/taskcluster/scripts/misc/afl-nyx.patch
diff options
context:
space:
mode:
Diffstat (limited to 'taskcluster/scripts/misc/afl-nyx.patch')
-rw-r--r--taskcluster/scripts/misc/afl-nyx.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/taskcluster/scripts/misc/afl-nyx.patch b/taskcluster/scripts/misc/afl-nyx.patch
new file mode 100644
index 0000000000..67b460900c
--- /dev/null
+++ b/taskcluster/scripts/misc/afl-nyx.patch
@@ -0,0 +1,18 @@
+commit 1e1e67d0a7d16db0a4331702af713a163c40b87f
+Author: Jesse Schwartzentruber <truber@mozilla.com>
+Date: Fri Jul 14 11:04:04 2023 -0400
+
+ Increase MAP_SIZE for Nyx
+
+diff --git a/include/config.h b/include/config.h
+index 988e536e..5e9870c0 100644
+--- a/include/config.h
++++ b/include/config.h
+@@ -442,7 +442,7 @@
+ problems with complex programs). You need to recompile the target binary
+ after changing this - otherwise, SEGVs may ensue. */
+
+-#define MAP_SIZE_POW2 16
++#define MAP_SIZE_POW2 23
+
+ /* Do not change this unless you really know what you are doing. */