History

Revert "fuzzers/load: clear old temp files if they exist"

It is not a problem, so revert. This reverts commit 06ec0319dbd3edb44bf383a292bc412ce9a5d021.

Kacper Michajłow committed 2 years ago

Commit f652f381 parent 7923a631 file · +0 −7Browse files

Unified · Split

fuzzers/fuzzer_load.c+0−7
@@ -26,13 +26,6 @@ · 25 unmodified lines
26 26
27#include "common.h"27#include "common.h"
28 28
29int LLVMFuzzerInitialize(int *argc, char ***argv)
30{
31 // Is /tmp really persistent?
32 system("rm -f /tmp/libfuzzer.*");
33 return 0;
34}
35
36int LLVMFuzzerTestOneInput(const uint8_t *data, size_t size)29int 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.

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t