about summary refs log tree commit diff
path: root/qemu_mode
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2019-08-01 15:44:10 +0200
committervan Hauser <vh@thc.org>2019-08-01 15:44:10 +0200
commitaf823d6486f9848ee8844f23ed3baf27da45a107 (patch)
tree01b6b4e123d208a5dab9144f98c48daf613107eb /qemu_mode
parent487a87df02c20784bb4ef272954300dd18c04d9a (diff)
downloadafl++-af823d6486f9848ee8844f23ed3baf27da45a107.tar.gz
map size fixes
Diffstat (limited to 'qemu_mode')
-rw-r--r--qemu_mode/patches/afl-qemu-cpu-inl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/qemu_mode/patches/afl-qemu-cpu-inl.h b/qemu_mode/patches/afl-qemu-cpu-inl.h
index 03951fea..86203a5b 100644
--- a/qemu_mode/patches/afl-qemu-cpu-inl.h
+++ b/qemu_mode/patches/afl-qemu-cpu-inl.h
@@ -57,7 +57,7 @@
 
 /* This is equivalent to afl-as.h: */
 
-static unsigned char dummy[65536]; /* costs 64kb but saves a few instructions */
+static unsigned char dummy[MAP_SIZE]; /* costs MAP_SIZE but saves a few instructions */
 unsigned char *afl_area_ptr = dummy; /* Exported for afl_gen_trace */
 
 /* Exported variables populated by the code patched into elfload.c: */