aboutsummaryrefslogtreecommitdiff
path: root/custom_mutators
diff options
context:
space:
mode:
authorJiangen Jiao <joeyjiaojg@qq.com>2021-03-25 12:29:27 +0800
committerJiangen Jiao <joeyjiaojg@qq.com>2021-03-25 20:40:31 +0800
commitc89264205779635ec43f2913a94fa3ae5e6a5186 (patch)
tree08c6e93f8ad85eb2e05963a038ab289312033d38 /custom_mutators
parent2dac4e785fa9f27e8c59bb504cfa8942eba938be (diff)
downloadAFLplusplus-c89264205779635ec43f2913a94fa3ae5e6a5186.tar.gz
android: support host and target 32bit build
Diffstat (limited to 'custom_mutators')
-rw-r--r--custom_mutators/Android.bp6
-rw-r--r--custom_mutators/libprotobuf-mutator-example/Android.bp6
2 files changed, 12 insertions, 0 deletions
diff --git a/custom_mutators/Android.bp b/custom_mutators/Android.bp
index 89abc3e9..5c7e06e3 100644
--- a/custom_mutators/Android.bp
+++ b/custom_mutators/Android.bp
@@ -10,6 +10,8 @@ cc_library_shared {
"-fPIC",
"-fpermissive",
"-std=c++11",
+ "-Wno-unused-parameter",
+ "-Wno-unused-variable",
],
srcs: [
@@ -77,6 +79,8 @@ cc_library_shared {
"-O0",
"-funroll-loops",
"-fPIC",
+ "-Wno-unused-parameter",
+ "-Wno-unused-function",
],
srcs: [
@@ -99,6 +103,8 @@ cc_library_shared {
"-O0",
"-funroll-loops",
"-fPIC",
+ "-Wno-unused-parameter",
+ "-Wno-pointer-sign",
],
srcs: [
diff --git a/custom_mutators/libprotobuf-mutator-example/Android.bp b/custom_mutators/libprotobuf-mutator-example/Android.bp
index 01f1c23e..4f579735 100644
--- a/custom_mutators/libprotobuf-mutator-example/Android.bp
+++ b/custom_mutators/libprotobuf-mutator-example/Android.bp
@@ -8,6 +8,7 @@ cc_library_shared {
"-O0",
"-fPIC",
"-Wall",
+ "-Wno-unused-parameter",
],
srcs: [
@@ -29,4 +30,9 @@ cc_binary {
srcs: [
"vuln.c",
],
+
+ cflags: [
+ "-Wno-unused-result",
+ "-Wno-unused-parameter",
+ ],
}