diff options
| author | vanhauser-thc <vh@thc.org> | 2024-04-26 16:14:45 +0200 |
|---|---|---|
| committer | vanhauser-thc <vh@thc.org> | 2024-04-26 16:14:50 +0200 |
| commit | 70c60cfba798d4c7349280746e9f2488778be25e (patch) | |
| tree | bdb99c7c474623f95075f237a3bf64dc3a7ed482 /afl-cmin | |
| parent | f3b6d64ad303a5409fa36d4dd81c838954939fb7 (diff) | |
| download | afl++-70c60cfba798d4c7349280746e9f2488778be25e.tar.gz | |
work with spaces in filenames
Diffstat (limited to 'afl-cmin')
| -rwxr-xr-x | afl-cmin | 6 |
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") |
