diff --git a/fuzzers/fuzzer_load.c b/fuzzers/fuzzer_load.c index 1bfd950211d24..641bc4b6560ce 100644 --- a/fuzzers/fuzzer_load.c +++ b/fuzzers/fuzzer_load.c @@ -26,6 +26,13 @@ #include "common.h" +int LLVMFuzzerInitialize(int *argc, char ***argv) +{ + // Is /tmp really persistent? + system("rm -f /tmp/libfuzzer.*"); + return 0; +} + int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) { // fmemopen doesn't have associated file descriptor, so we do copy.