Add support of SANITIZE_TARGET='address coverage' for fuzzing.
Also, add trace-cmp instrumentation to fuzz_test and host_fuzz_test. Bug: 22850550 Change-Id: Ifff7b8be693ae991feb0a64e19439370a19b2748
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
## Common flags for host fuzz tests are added.
|
||||
################################################
|
||||
|
||||
LOCAL_CFLAGS += -fsanitize-coverage=edge,indirect-calls,8bit-counters
|
||||
LOCAL_CFLAGS += -fsanitize-coverage=edge,indirect-calls,8bit-counters,trace-cmp
|
||||
LOCAL_STATIC_LIBRARIES += libLLVMFuzzer
|
||||
|
||||
include $(BUILD_HOST_EXECUTABLE)
|
||||
|
Reference in New Issue
Block a user