about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2023-07-10 17:43:09 +0200
committervanhauser-thc <vh@thc.org>2023-07-10 17:43:21 +0200
commitb547a6ab0d0e94fc141b0c013f44c1aa02cb78cc (patch)
treeaee06eb8a7d9446b459de073e0a8dbf5175c8112
parente10e0e01e90632be51859758521c4e49fe044c97 (diff)
downloadafl++-b547a6ab0d0e94fc141b0c013f44c1aa02cb78cc.tar.gz
nits
-rwxr-xr-xafl-cmin2
-rw-r--r--instrumentation/SanitizerCoverageLTO.so.cc2
2 files changed, 2 insertions, 2 deletions
diff --git a/afl-cmin b/afl-cmin
index f3ae4304..23532b63 100755
--- a/afl-cmin
+++ b/afl-cmin
@@ -425,7 +425,7 @@ BEGIN {
   cmd = "stat --version 2>/dev/null"
   cmd | getline statversion
   close(cmd)
-  if (statversion ~ /GNU coreutils/) {
+  if (statversion ~ /GNU coreutils/ || statversion ~ /BusyBox/) {
     stat_format = "-c '%s %n'" # GNU
   } else {
     stat_format = "-f '%z %N'" # *BSD, MacOS
diff --git a/instrumentation/SanitizerCoverageLTO.so.cc b/instrumentation/SanitizerCoverageLTO.so.cc
index d7b03634..c70fbd4f 100644
--- a/instrumentation/SanitizerCoverageLTO.so.cc
+++ b/instrumentation/SanitizerCoverageLTO.so.cc
@@ -1081,7 +1081,7 @@ bool ModuleSanitizerCoverageLTO::instrumentModule(
       }
 
       if (!be_quiet)
-        printf("AUTODICTIONARY: %lu string%s found\n", count,
+        printf("AUTODICTIONARY: %zu string%s found\n", count,
                count == 1 ? "" : "s");
 
       if (count) {