diff options
author | Andrea Fioraldi <andreafioraldi@gmail.com> | 2019-09-13 11:37:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-13 11:37:26 +0200 |
commit | 8ee11fecc475dd6bcaab7f1e5a38c1cfac4c7e56 (patch) | |
tree | f728ee952e94bb299bd5fc603009fbcd51dd85cb /src/afl-fuzz-run.c | |
parent | a67d86c6e2ca58db81f2ddf6d0a4c837be88271d (diff) | |
parent | 36020c41df88ae863fbc2a148765f9c61c7f8bf8 (diff) | |
download | afl++-8ee11fecc475dd6bcaab7f1e5a38c1cfac4c7e56.tar.gz |
Merge pull request #57 from vanhauser-thc/persistent_qemu
Persistent mode in 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); |