libhfuzz/persistent: reference LIBHFUZZ_module_memorycmp from libhfuzz/persisent
@@ -56,9 +56,11 @@ void HF_ITER(const uint8_t** buf_ptr, size_t* len_ptr) {
HonggfuzzFetchData(buf_ptr, len_ptr);
}
+extern const char* const LIBHFUZZ_module_memorycmp;
static void HonggfuzzRunOneInput(const uint8_t* buf, size_t len) {
int ret = LLVMFuzzerTestOneInput(buf, len);
if (ret != 0) {
+ LOG_D("Dereferenced: %s", LIBHFUZZ_module_memorycmp);
LOG_F("LLVMFuzzerTestOneInput() returned '%d' instead of '0'", ret);
}
}
