about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--docs/Changelog.md2
-rw-r--r--docs/env_variables.md2
2 files changed, 3 insertions, 1 deletions
diff --git a/docs/Changelog.md b/docs/Changelog.md
index 48f67803..8a445084 100644
--- a/docs/Changelog.md
+++ b/docs/Changelog.md
@@ -37,6 +37,8 @@
     - new runtime (!) variable: `AFL_OLD_FORKSERVER` to use the old vanilla
       AFL type forkserver. Useful for symcc/symqemu/nautilus/etc. with
       AFL_LLVM_INSTRUMENT=CLASSIC
+    - new compile time variable: `AFL_OPT_LEVEL` to set a specific optimization
+      level, default is `3`
   - code formatting updated to llvm 18
   - improved custom_mutators/aflpp/standalone/aflpp-standalone
   - added custom_mutators/autotokens/standalone/autotokens-standalone
diff --git a/docs/env_variables.md b/docs/env_variables.md
index 4824860c..d0789105 100644
--- a/docs/env_variables.md
+++ b/docs/env_variables.md
@@ -65,7 +65,7 @@ fairly broad use of environment variables instead:
     `-fno-unroll-loops` are set, these are not overridden.
 
   - The optimization level can also be set with `AFL_OPT_LEVEL`, e.g.
-    `AFL_OPT_LEVEL=z` for `-Oz`
+    `AFL_OPT_LEVEL=z` for `-Oz`, default is `3`
 
   - Setting `AFL_HARDEN` automatically adds code hardening options when invoking
     the downstream compiler. This currently includes `-D_FORTIFY_SOURCE=2` and