about summary refs log tree commit diff
path: root/afl-gotcpu.c
diff options
context:
space:
mode:
authorJoey Jiao <joeyjiaojg@163.com>2019-07-25 09:12:48 +0800
committerJoey Jiao <joeyjiaojg@163.com>2019-08-19 19:43:58 +0800
commit742aed4f2e8d46cd9a92c4eafb89986049bedfe4 (patch)
tree67c370d871395b83cd3e8d5c765019d9419a9088 /afl-gotcpu.c
parent53012ff41cf522f96c206a0ed068e1de7e8c062f (diff)
downloadafl++-742aed4f2e8d46cd9a92c4eafb89986049bedfe4.tar.gz
Add support for Android
Diffstat (limited to 'afl-gotcpu.c')
-rw-r--r--afl-gotcpu.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/afl-gotcpu.c b/afl-gotcpu.c
index 4163ad65..8c04b205 100644
--- a/afl-gotcpu.c
+++ b/afl-gotcpu.c
@@ -28,6 +28,9 @@
 #define AFL_MAIN
 #define _GNU_SOURCE
 
+#ifdef __ANDROID__
+  #include "android-ashmem.h"
+#endif
 #include <stdio.h>
 #include <stdlib.h>
 #include <unistd.h>