Remove honggfuzz support.

Everyone's on libFuzzer now.

(The "fuzz" referred to in base_system.mk was removed in Android 11, but
this reference was left lying around.)

Bug: http://b/184301511
Test: treehugger
Change-Id: I6fe0f2c37e014647802279a656d2c6c9625b7a44
This commit is contained in:
Elliott Hughes 2021-04-02 10:20:30 -07:00
parent 9e766acb09
commit a445ef6cde
2 changed files with 0 additions and 34 deletions

View File

@ -19,35 +19,6 @@ LOCAL_SANITIZE += fuzzer
ifeq ($(my_fuzzer),libFuzzer) ifeq ($(my_fuzzer),libFuzzer)
LOCAL_STATIC_LIBRARIES += libFuzzer LOCAL_STATIC_LIBRARIES += libFuzzer
else ifeq ($(my_fuzzer),honggfuzz)
LOCAL_STATIC_LIBRARIES += honggfuzz_libhfuzz
LOCAL_REQUIRED_MODULES += honggfuzz
LOCAL_LDFLAGS += \
"-Wl,--wrap=strcmp" \
"-Wl,--wrap=strcasecmp" \
"-Wl,--wrap=strncmp" \
"-Wl,--wrap=strncasecmp" \
"-Wl,--wrap=strstr" \
"-Wl,--wrap=strcasestr" \
"-Wl,--wrap=memcmp" \
"-Wl,--wrap=bcmp" \
"-Wl,--wrap=memmem" \
"-Wl,--wrap=ap_cstr_casecmp" \
"-Wl,--wrap=ap_cstr_casecmpn" \
"-Wl,--wrap=ap_strcasestr" \
"-Wl,--wrap=apr_cstr_casecmp" \
"-Wl,--wrap=apr_cstr_casecmpn" \
"-Wl,--wrap=CRYPTO_memcmp" \
"-Wl,--wrap=OPENSSL_memcmp" \
"-Wl,--wrap=OPENSSL_strcasecmp" \
"-Wl,--wrap=OPENSSL_strncasecmp" \
"-Wl,--wrap=xmlStrncmp" \
"-Wl,--wrap=xmlStrcmp" \
"-Wl,--wrap=xmlStrEqual" \
"-Wl,--wrap=xmlStrcasecmp" \
"-Wl,--wrap=xmlStrncasecmp" \
"-Wl,--wrap=xmlStrstr" \
"-Wl,--wrap=xmlStrcasestr"
else else
$(call pretty-error, Unknown fuzz engine $(my_fuzzer)) $(call pretty-error, Unknown fuzz engine $(my_fuzzer))
endif endif

View File

@ -385,11 +385,6 @@ PRODUCT_SYSTEM_SERVER_APPS += \
SettingsProvider \ SettingsProvider \
WallpaperBackup WallpaperBackup
# Packages included only for eng/userdebug builds, when building with SANITIZE_TARGET=address
PRODUCT_PACKAGES_DEBUG_ASAN := \
fuzz \
honggfuzz
PRODUCT_PACKAGES_DEBUG_JAVA_COVERAGE := \ PRODUCT_PACKAGES_DEBUG_JAVA_COVERAGE := \
libdumpcoverage libdumpcoverage