diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2019-09-12 12:34:53 +0200 |
---|---|---|
committer | Andrea Fioraldi <andreafioraldi@gmail.com> | 2019-09-12 12:34:53 +0200 |
commit | 6b40189045645938098772260ecda1c0bcbf6467 (patch) | |
tree | 4e4c012155e4c7f78b4b9d93553f419bf9736fcc /src/afl-fuzz-run.c | |
parent | df379dfcf46941125bc6b8f9d3e2e1141b84e137 (diff) | |
download | afl++-6b40189045645938098772260ecda1c0bcbf6467.tar.gz |
first version of persistent QEMU
Diffstat (limited to 'src/afl-fuzz-run.c')
-rw-r--r-- | src/afl-fuzz-run.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/afl-fuzz-run.c b/src/afl-fuzz-run.c index 37a04e44..f2f663dc 100644 --- a/src/afl-fuzz-run.c +++ b/src/afl-fuzz-run.c @@ -253,7 +253,8 @@ void write_to_testcase(void* mem, u32 len) { if (out_file) { - //unlink(out_file); /* Ignore errors. */ + // unlink(out_file); /* Ignore errors. + // */ fd = open(out_file, O_WRONLY | O_CREAT | O_TRUNC, 0600); @@ -295,7 +296,8 @@ void write_with_gap(void* mem, u32 len, u32 skip_at, u32 skip_len) { if (out_file) { - //unlink(out_file); /* Ignore errors. */ + // unlink(out_file); /* Ignore errors. + // */ fd = open(out_file, O_WRONLY | O_CREAT | O_TRUNC, 0600); |