about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2022-08-16 09:46:11 +0200
committervanhauser-thc <vh@thc.org>2022-08-16 09:46:11 +0200
commitd7abf6936c6b5797107779fc99339ac9fb78b22e (patch)
treec3d9ef817e59618cc9221083ff6cf4cd2b2c1c5e
parent2462c61df9cffa5e29433913a73095d212b70403 (diff)
downloadafl++-d7abf6936c6b5797107779fc99339ac9fb78b22e.tar.gz
fix afl-cmin
-rwxr-xr-xafl-cmin2
1 files changed, 1 insertions, 1 deletions
diff --git a/afl-cmin b/afl-cmin
index 4e0d78df..b170667a 100755
--- a/afl-cmin
+++ b/afl-cmin
@@ -291,7 +291,7 @@ BEGIN {
     target_bin = tnew
   }
 
-  if (0 == system ( "grep -aq AFL_DUMP_MAP_SIZE" target_bin )) {
+  if (0 == system ( "grep -aq AFL_DUMP_MAP_SIZE " target_bin )) {
     echo "[!] Trying to obtain the map size of the target ..."
     get_map_size = "AFL_DUMP_MAP_SIZE=1 " target_bin
     get_map_size | getline mapsize