about summary refs log tree commit diff
path: root/docs/env_variables.md
diff options
context:
space:
mode:
authorJesse Schwartzentruber <truber@mozilla.com>2023-10-19 17:14:31 -0400
committerJesse Schwartzentruber <truber@mozilla.com>2023-10-23 21:57:21 -0400
commitcf458a7d25dc3448b94ffe08d3d89531fc8d4818 (patch)
treebfa47476716ba9d5760c86b3221c93307da0bd8c /docs/env_variables.md
parenteaa6a1754a2efa54903959a5b3ce3d433dcdea37 (diff)
downloadafl++-cf458a7d25dc3448b94ffe08d3d89531fc8d4818.tar.gz
Add an env to afl-clang-fast to disable setting rpath if LLVM path isn't
recognized
Diffstat (limited to 'docs/env_variables.md')
-rw-r--r--docs/env_variables.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/env_variables.md b/docs/env_variables.md
index 3bb4e844..a7636511 100644
--- a/docs/env_variables.md
+++ b/docs/env_variables.md
@@ -135,6 +135,12 @@ subset of the settings discussed in section 1, with the exception of:
   - `TMPDIR` and `AFL_KEEP_ASSEMBLY`, since no temporary assembly files are
     created.
 
+  - LLVM modes compiling C++ will normally set rpath in the binary if LLVM is
+    not in a usual location (/usr or /lib). Setting `AFL_LLVM_NO_RPATH=1`
+    disables this behaviour in case it isn't desired. For example, the compiling
+    toolchain might be in a custom location, but the target machine has LLVM
+    runtime libs in the search path.
+
 Then there are a few specific features that are only available in
 instrumentation mode: