about summary refs log tree commit diff
path: root/docs/env_variables.md
diff options
context:
space:
mode:
authorDominik Maier <domenukk@gmail.com>2020-12-03 14:43:06 +0100
committerDominik Maier <domenukk@gmail.com>2020-12-03 14:43:06 +0100
commita2e2fae840e9946c7994ac6807bed8496d71af56 (patch)
treec4162219bb50b7d46ef15120c13841a4b10d873c /docs/env_variables.md
parent0f803c63dfb1dafdef3bfe1b43674157efcd7107 (diff)
downloadafl++-a2e2fae840e9946c7994ac6807bed8496d71af56.tar.gz
AFL_CRASH_EXITCODE env var added, u8->bool
Diffstat (limited to 'docs/env_variables.md')
-rw-r--r--docs/env_variables.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/env_variables.md b/docs/env_variables.md
index ada89257..e203055f 100644
--- a/docs/env_variables.md
+++ b/docs/env_variables.md
@@ -428,6 +428,13 @@ checks or alter some of the more exotic semantics of the tool:
     matches your StatsD server.
     Available flavors are `dogstatsd`, `librato`, `signalfx` and `influxdb`.
 
+  - Setting `AFL_CRASH_EXITCODE` sets the exit code afl treats as crash.
+    For example, if `AFL_CRASH_EXITCODE='-1'` is set, each input resulting
+    in an `-1` return code (i.e. `exit(-1)` got called), will be treated
+    as if a crash had ocurred.
+    This may be beneficial if you look for higher-level faulty conditions in which your
+    target still exits gracefully.
+
   - Outdated environment variables that are not supported anymore:
     `AFL_DEFER_FORKSRV`
     `AFL_PERSISTENT`