about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJoey Jiao <joeyjiaojg@163.com>2021-01-16 15:00:35 +0800
committerJoey Jiao <joeyjiaojg@163.com>2021-01-20 15:46:41 +0800
commit9d9e148e5cb9e9118289a1d52e0b7aeff040b8bb (patch)
tree1846ea4cb32e15303b67afea944f93fb4c622f1d
parent1e2da1dfb9ca44e70416601ed5ab94ad79ce2994 (diff)
downloadafl++-9d9e148e5cb9e9118289a1d52e0b7aeff040b8bb.tar.gz
android: build custom mutators for symcc, radamsa
-rw-r--r--custom_mutators/Android.bp67
1 files changed, 67 insertions, 0 deletions
diff --git a/custom_mutators/Android.bp b/custom_mutators/Android.bp
index f2ac14b5..11690443 100644
--- a/custom_mutators/Android.bp
+++ b/custom_mutators/Android.bp
@@ -42,3 +42,70 @@ cc_library_shared {
     "libafl_headers",
   ],
 }
+
+/*cc_library_shared {
+  name: "honggfuzz-mutator",
+  vendor_available: true,
+  host_supported: true,
+
+  cflags: [
+    "-g",
+    "-O0",
+    "-funroll-loops",
+    "-fPIC",
+    "-Wl,-Bsymbolic",
+  ],
+
+  srcs: [
+    "honggfuzz/honggfuzz.c",
+    "honggfuzz/mangle.c",
+//    "../src/afl-perfomance.c",
+  ],
+
+  header_libs: [
+    "libafl_headers",
+  ],
+}*/
+
+cc_library_shared {
+  name: "radamsa-mutator",
+  vendor_available: true,
+  host_supported: true,
+
+  cflags: [
+    "-g",
+    "-O0",
+    "-funroll-loops",
+    "-fPIC",
+  ],
+
+  srcs: [
+    "radamsa/libradamsa.c",
+    "radamsa/radamsa-mutator.c",
+  ],
+
+  header_libs: [
+    "libafl_headers",
+  ],
+}
+
+cc_library_shared {
+  name: "symcc-mutator",
+  vendor_available: true,
+  host_supported: true,
+
+  cflags: [
+    "-g",
+    "-O0",
+    "-funroll-loops",
+    "-fPIC",
+  ],
+
+  srcs: [
+    "symcc/symcc.c",
+  ],
+
+  header_libs: [
+    "libafl_headers",
+  ],
+}