It is not a problem, so revert. This reverts commit 06ec0319dbd3edb44bf383a292bc412ce9a5d021.
Unified · Split
| @@ -26,13 +26,6 @@ · 25 unmodified lines | |||
| 26 | 26 | ||
| 27 | #include "common.h" | 27 | #include "common.h" |
| 28 | 28 | ||
| 29 | int LLVMFuzzerInitialize(int *argc, char ***argv) | ||
| 30 | { | ||
| 31 | // Is /tmp really persistent? | ||
| 32 | system("rm -f /tmp/libfuzzer.*"); | ||
| 33 | return 0; | ||
| 34 | } | ||
| 35 | |||
| 36 | int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) | 29 | int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size) |
| 37 | { | 30 | { |
| 38 | // fmemopen doesn't have associated file descriptor, so we do copy. | 31 | // fmemopen doesn't have associated file descriptor, so we do copy. |