about summary refs log tree commit diff
diff options
context:
space:
mode:
authorChris Down <chris@chrisdown.name>2023-03-26 20:44:57 -0400
committerChris Down <chris@chrisdown.name>2023-03-26 20:44:57 -0400
commit2d3c5cc6d88c98af4bf5ecb57716d3c74bbf4c76 (patch)
tree7a95302a271b7739b1410e9524b86d5cd3d42a57
parent19f96129109c6394fdc45dfae3885c2d7e08977d (diff)
downloadafl++-2d3c5cc6d88c98af4bf5ecb57716d3c74bbf4c76.tar.gz
Clarify confusing version message
When running, the following gets printed in quick succession on startup:

    afl-fuzz++4.00c based on afl by Michal Zalewski and a large online community
    [...]
    [+] NOTE: This is v3.x which changes defaults and behaviours - see README.md

Don't assert that this is v3, just that v3+ changes defaults and
behaviours.
-rw-r--r--src/afl-fuzz.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/afl-fuzz.c b/src/afl-fuzz.c
index d7708fdf..4e7679de 100644
--- a/src/afl-fuzz.c
+++ b/src/afl-fuzz.c
@@ -1344,8 +1344,7 @@ int main(int argc, char **argv_orig, char **envp) {
       "Eißfeldt, Andrea Fioraldi and Dominik Maier");
   OKF("afl++ is open source, get it at "
       "https://github.com/AFLplusplus/AFLplusplus");
-  OKF("NOTE: This is v3.x which changes defaults and behaviours - see "
-      "README.md");
+  OKF("NOTE: afl++ >= v3 has changed defaults and behaviours - see README.md");
 
   #ifdef __linux__
   if (afl->fsrv.nyx_mode) {