about summary refs log tree commit diff
diff options
context:
space:
mode:
authorhexcoder <hexcoder-@users.noreply.github.com>2020-03-11 11:25:58 +0100
committerGitHub <noreply@github.com>2020-03-11 11:25:58 +0100
commitd8d89507b5cdbd066c149fd3c86a91b3948521aa (patch)
tree745b458300415d88197970e433715106a3ab1d8b
parentf1ef398909a68c33d3cf5ff1aa4aad38ff6e0810 (diff)
downloadafl++-d8d89507b5cdbd066c149fd3c86a91b3948521aa.tar.gz
afl-cmin delete output directory when aborted
-rwxr-xr-xafl-cmin1
1 files changed, 1 insertions, 0 deletions
diff --git a/afl-cmin b/afl-cmin
index 8ae8f0b6..e48dc7d8 100755
--- a/afl-cmin
+++ b/afl-cmin
@@ -409,6 +409,7 @@ BEGIN {
 
     if (!ENVIRON["AFL_KEEP_TRACES"]) {
       system("rm -rf "trace_dir" 2>/dev/null")
+      system("rmdir "out_dir)
     }
     exit retval
   }