aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCory Barker <cobark@google.com>2022-07-22 17:35:28 +0000
committerCory Barker <cobark@google.com>2022-07-22 17:35:28 +0000
commit560230e3781094fa34b1928f5d896964c140e311 (patch)
treec60a40d9ddd473fca595b2c1ac067f4e4668d469
parentc99e61b5e5b1c7da7eb26565614e043545c99a2c (diff)
downloadAFLplusplus-560230e3781094fa34b1928f5d896964c140e311.tar.gz
Updated the way we build AFL++ fuzz binaries
Test: Built AFL fuzzers individually and built all using haiku command and built libfuzzers individually and also by using haiku command. Ran selected fuzzers manually to ensure fuzzing still worked. Description: Previously we needed to add cc_afl_fuzz to build an afl fuzz binary, however, to turn current libFuzzers into AFL fuzzers this would required an update to each Android.bp file which is a lot of work, and would also require an approval from each Android.bp file owner, which is even more work. To get around this (and also to match how AFL fuzzers are built in G3) we will build AFL++ fuzz binaries by command line option FUZZ_FRAMEWORK. When FUZZ_FRAMEWORK=AFL is set, all cc_fuzz modules will be built Change-Id: I577d6ae7bcb85cd8490798c96fd0b9b72067c9c1
-rw-r--r--Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index 332332c9..f6fe7bf4 100644
--- a/Android.bp
+++ b/Android.bp
@@ -92,6 +92,7 @@ cc_binary {
cc_object {
name: "aflpp_driver",
+ vendor_available: true,
host_supported: true,
srcs: [
"utils/aflpp_driver/aflpp_driver.c",