aboutsummaryrefslogtreecommitdiff
path: root/afl-cmin
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2024-04-26 16:17:41 +0200
committerGitHub <noreply@github.com>2024-04-26 16:17:41 +0200
commitad0d0c77fb313e6edfee111fecf2bcd16d8f915e (patch)
treed14359defab2ebe64d7536d7de8c4f63cb7105e9 /afl-cmin
parent1d17210d9fb0eb37ba866a3697643a9e4f37acd5 (diff)
parent2c3f761ede22c132277a855f2219b85a34c6048a (diff)
downloadafl++-ad0d0c77fb313e6edfee111fecf2bcd16d8f915e.tar.gz
Merge pull request #2071 from AFLplusplus/dev
Push to stable
Diffstat (limited to 'afl-cmin')
-rwxr-xr-xafl-cmin6
1 files changed, 3 insertions, 3 deletions
diff --git a/afl-cmin b/afl-cmin
index a1d5401f..a88460a8 100755
--- a/afl-cmin
+++ b/afl-cmin
@@ -13,7 +13,7 @@ awk -f - -- ${@+"$@"} <<'EOF'
# awk script to minimize a test corpus of input files
#
# based on afl-cmin bash script written by Michal Zalewski
-# rewritten by Heiko Eißfeldt (hexcoder-)
+# rewritten by Heiko Eissfeldt (hexcoder-)
# tested with:
# gnu awk (x86 Linux)
# bsd awk (x86 *BSD)
@@ -603,8 +603,8 @@ BEGIN {
# create path for the trace file from afl-showmap
tracefile_path = trace_dir"/"fn
# ensure the file size is not zero
- cmd = "du -b "tracefile_path
- "ls -l "tracefile_path
+ cmd = "du -b \""tracefile_path"\""
+ # "ls -l \""tracefile_path"\""
cmd | getline output
close(cmd)
split(output, result, "\t")