about summary refs log tree commit diff
path: root/docs/env_variables.md
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2024-10-16 18:26:08 +0200
committervanhauser-thc <vh@thc.org>2024-10-16 18:26:08 +0200
commit4cc9232485618712a158ca8fddc42f1fee1c530f (patch)
tree508f61d128e465cd1f67cf09cdd975df5a8cd308 /docs/env_variables.md
parent20c46c0ed6465d49034939416efc979674425dd6 (diff)
downloadafl++-4cc9232485618712a158ca8fddc42f1fee1c530f.tar.gz
add AFL_OPT_LEVEL support
Diffstat (limited to 'docs/env_variables.md')
-rw-r--r--docs/env_variables.md3
1 files changed, 3 insertions, 0 deletions
diff --git a/docs/env_variables.md b/docs/env_variables.md
index ef67abec..4824860c 100644
--- a/docs/env_variables.md
+++ b/docs/env_variables.md
@@ -64,6 +64,9 @@ fairly broad use of environment variables instead:
     optimizations, set `AFL_DONT_OPTIMIZE`. However, if `-O...` and/or
     `-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`
+
   - Setting `AFL_HARDEN` automatically adds code hardening options when invoking
     the downstream compiler. This currently includes `-D_FORTIFY_SOURCE=2` and
     `-fstack-protector-all`. The setting is useful for catching non-crashing